(()=>{"use strict";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={exports:{}};return r[e].call(i.exports,i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var l=1/0;for(s=0;s=i)&&Object.keys(o.O).every((e=>o.O[e](t[u])))?t.splice(u--,1):(a=!1,i0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,n,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[l,a,u]=t,f=0;if(l.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(u)var s=u(o)}for(r&&r(t);f{"use strict";i.d(t,{_o:()=>r,or:()=>o,xf:()=>n});const s="cta_converted",n=e=>CE2.Native.JSON.parse(CE2.Native.sessionStorageWrapper.read(s)||"{}")[e.toString()],r=e=>{const t=CE2.Native.JSON.parse(CE2.Native.sessionStorageWrapper.read(s)||"{}");delete t[e],CE2.Native.sessionStorageWrapper.write(s,CE2.Native.JSON.stringify(t))},o=e=>{const t=CE2.data.addons.find((({id:t})=>t===e.id));if(t?.goal_id){const e=CE2.Native.JSON.parse(CE2.Native.sessionStorageWrapper.read(s)||"{}");e[t.goal_id]={id:t.id,goalId:t.goal_id,timestamp:Date.now()},CE2.Native.sessionStorageWrapper.write(s,CE2.Native.JSON.stringify(e))}}},7631:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ABTest:()=>h.Ay,ADDON_SCRIPT_VERSION:()=>E,CE_API:()=>Ot,Emitter:()=>he.v,ExitIntent:()=>Dt,FormData:()=>we.f,Goal:()=>u.A,IndexedDB:()=>a.mc,JSON:()=>Lt,NativeURL:()=>Mt,Preview:()=>se,READY_STATE_PATTERN:()=>Ae,URL:()=>_e.j,VirtualTracker:()=>B,addListener:()=>r.ch,addTag:()=>r.Ap,addToCart:()=>Ut,benchmark:()=>o.aE,benchmarkEnabled:()=>o.$J,checkoutCompleted:()=>Vt,clearIdentity:()=>re.SY,click:()=>r.jM,consent:()=>a.vJ,converted:()=>V.H$,cookieStorage:()=>_.i,customEvent:()=>r.ex,debug:()=>o.Yz,debug2:()=>o.cC,debug2Enabled:()=>o.$Q,debugEnabled:()=>o.dK,debugError:()=>Ee.A,decreaseSessionWorth:()=>re.LV,deleteCookie:()=>r.Yj,domReadySetup:()=>Ue,each:()=>r.__,errorTracking:()=>Ee.o,get:()=>g.get,getCookie:()=>r.Ri,getCookieMode:()=>a.mr,getCookies:()=>r.OR,getLastFlow:()=>$t.lD,getSegmentTracker:()=>Z.MH,goalConversion:()=>V.og,goalIdString:()=>V.CT,hasFeature:()=>r.jI,http:()=>g,hudMain:()=>be,identify:()=>re.ls,ignore:()=>r.Xe,increaseSessionWorth:()=>re.vn,isBot:()=>De,isConsent:()=>a.VK,listen:()=>r.KT,loadHUD:()=>Ie,matchURL:()=>ve.$,matchesAddon:()=>ne,matchesLegacyOrSegments:()=>Z.mF,matchesSelector:()=>r.B5,matchesTrigger:()=>ee._9,nextGoalConversionValue:()=>V.uw,notifyError:()=>Rt,onDOMReady:()=>xe,pagesTracker:()=>ct,parseNumberString:()=>xt.s,promisePool:()=>pe,remoteLog:()=>me,removeListener:()=>r.pQ,set:()=>r.hZ,setCurrency:()=>V.MN,setRecordingsSamplingRate:()=>Fe,setSessionWorth:()=>re.LG,showCTA:()=>Q,showFeedbackSurvey:()=>j,showSurvey:()=>G,startCheckout:()=>Pt,startRecording:()=>Je,stopRecording:()=>qe,testModeCheck:()=>r.ou,traceLog:()=>o.aQ,trackSurveyResponse:()=>ue,triggerAddons:()=>ie,userDataMain:()=>Nt,userMainTestMode:()=>bt,uuid_v1:()=>ge.O,writeCookie:()=>r.o});var s={};i.r(s),i.d(s,{previewHandler:()=>H,showFeedbackSurvey:()=>j,showSurvey:()=>G,trigger:()=>W});var n={};i.r(n),i.d(n,{previewHandler:()=>F,showCTA:()=>Q,trigger:()=>X});i(7022);var r=i(2886),o=i(3380),a=i(4451);"undefined"==typeof CE2&&(globalThis.CE2={}),CE2.userDataToJs=function(){const e=[["uid","uid"],["snapshots","snapshots"],["status","status"],["flows","flows"],["sites","sites"],["USER_SCRIPT_VERSION","updated_at"],["__CE_HOST__","ce_app_url"],["COMMON_SCRIPT","common_script_url"],["COMMON_SCRIPT_SECURE","common_script_url"],["TRACKING_SCRIPT","tracking_script_url"],["TRACKING_SCRIPT_SECURE","tracking_script_url"],["AUTH_KEY","hud_auth_key"],["HUD","hud"],["GLOBAL_IP_BLOCK_LIST","global_ip_block_list"],["IS_USING_IP_BLOCKING","is_using_ip_blocking"],["TRACKING_DEST_NEW","v6_tracking_dest"],["TRACKING_DEST_NEW_SECURE","v6_secure_tracking_dest"],["DEST_V11","v11_tracking_dest"],["FT_DEST","flow_tracking_dest"],["PAGE_VIEWS_LIMIT_REACHED","page_views_limit_reached"],["NUMBER_OF_RECORDINGS","recordings_number"],["RECORDINGS_ACTIVATION","recordings_activation"],["ERROR_TRACKING","error_tracking"],["DEST_ERRORS_API","error_tracking_dest"],["DEST_ERRORS_API_DOMAIN","error_tracking_script_url"]];for(let t=0;tl(i)})}CE2.getNativeXMLHttpRequest=function(){return new CE2.Native.XMLHttpRequest},"undefined"!=typeof Prototype&&(0,o.Yz)("[Loading] WARNING: Prototype.js library detected, it can cause tracking issues"),(0,o.Yz)(`[Loading] Cookie mode=${(0,a.mr)()}`),CE2.sessionTags=[],CE2.p={},CE2.state.ignoredElements=[],CE2.state.clickCaptors=[],CE2.state.logHistory=[],CE2.state.logHistoryEnabled=!1,CE2.state.userData=[],CE2.getBox||(CE2.getBox=()=>{}),CE2.getUserDataTime||(CE2.getUserDataTime=function(){if(window.performance&&performance.getEntriesByType){var e=performance.getEntriesByType("navigation");if(e&&e[0])return"back_forward"===e[0].type?parseInt(+new Date/3e5,10):1}return parseInt(+new Date/36e5,10)}),CE2.loadScript||(CE2.loadScript=function(e,t){const i=document.createElement("script");i.src=e,i.type="text/javascript",i.async=!0,i.onload=()=>{t&&t()},document.head.append(i)}),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(e){return e()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(e){return e()}),CE2.w&&!CE2.w.CE_URL_FINGERPRINT&&(CE2.w.CE_URL_FINGERPRINT=function(){const{host:e}=CE2.w.location;let{pathname:t}=CE2.w.location;return t=t.split("/").map((e=>e.replace(/^([\d]+|(.*(\d.*){2}))$/,"*"))).join("/"),`${e.replace(/^(www|m)\./i,"")}${t}`.toLowerCase().replace(/\/$/,"")}),CE2.autoStart=CE2.w&&("undefined"==typeof CE_MANUAL_START||!CE_MANUAL_START),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(e){return e()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(e){return e()}),CE2.w&&setTimeout((()=>{CE2.w.CE_API=CE2.CE_API(CE2.w.CE_API)}));var u=i(8856),h=i(2484),g=i(1509);const E=CE2.w?.CE_ADDON_VERSION||"1.0.128",p="preview",C="testMode",f="pageChange",m="survey",v="cta",w=2;var _=i(8e3);let y=!1;const S={survey:"Survey",cta:"CTA"},I=()=>new Promise((e=>{CE2.loadTrackingScript((()=>{e()}))})),T=()=>y?Promise.resolve():new Promise((e=>{const t=(()=>{const{data:e}=CE2,t=`/scripts/addons/${E}/index.js`;return CE2.w.CE_ADDON_HOST?[CE2.w.CE_ADDON_HOST,t].join(""):new CE2.Native.URL(t,e.common_script_url).toString()})();CE2.loadScript(t,(()=>{y=!0,e()}))})),k=async e=>{CE2[S[e]]||(await T(),CE2.loadAddon?await CE2.loadAddon(e):(0,o.Yz)("[Addons] CE2.loadAddon not defined after loading addont script"))},b=async e=>{const t=(e=>{const t=document.getElementsByTagName(e)[0];return t?[...t.shadowRoot.querySelectorAll("link[rel=stylesheet]")]:[]})(e).filter((e=>!e.sheet));if(0===t.length)return!0;(0,o.Yz)(`[Addons] not loaded files: ${t.length}`);const i=t.map((e=>((0,o.Yz)(`[Addons] ${e.href}: schedule waiting`),new Promise((t=>{let i,s=!1;e.addEventListener("load",(()=>{s=!0,(0,o.Yz)(`[Addons] ${e.href}: loaded`),i&&clearTimeout(i),t("ok")})),i=setTimeout((()=>{!1===s&&((0,o.Yz)(`[Addons] ${e.href}: timed out`),t("timed out"))}),5e3)})))));return 0===(await Promise.all(i)).filter((e=>"string"==typeof e&&"timed out"===e)).length},N=e=>{const{sampling:t,external:i}=e?.config||{};if(!e||"number"!=typeof t||!0===i)return!1;let s=_.i.get("as");if("boolean"!=typeof s){const e=100*Math.random();s=e>t,(0,o.Yz)("[Addons] Sampling",{seed:e,sampling:t}),_.i.set("as",s)}return s},R="initiated",D="dataLoaded",A="scriptLoaded",O="dataMissing",$="https://core.crazyegg.com";class x{constructor(e,t){this.type=e,this.key=`ce_${e}_preview`,this.isLoadedByHash=!1,this.currentAddon=null,this.onDisplay=t}isPreview(){return!!this.getHash()||this.isLoadedByHash}isOpenedWindow(){return window.opener}isPlatformOrigin(e){const{data:t}=CE2,i=t.survey_launch_origins||t.addon_launch_origins||[];return[t.ce_app_url,...i].includes(e)}isValidHash(e){if(!e||"string"!=typeof e)return!1;const t=e.split(".");if(!/^[a-zA-Z0-9_-]{43}$/.test(t[0]))return!1;if(!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(t[1]))return!1;const i=t.slice(2).join(".");return!(i&&i!==CE2.w.location.hostname&&!CE2.w.location.hostname.endsWith(`.${i}`))}getHash(){const e=CE2.w.location.hash.match(new RegExp(`#ce-${this.type}-(.+)`));if(e&&e[1]){const t=e[1];return this.isValidHash(t)?(CE2.Native.sessionStorage&&CE2.Native.sessionStorageWrapper.write(this.key,t),t):null}if(!CE2.Native.sessionStorage)return null;const t=CE2.Native.sessionStorageWrapper.read(this.key);return this.isValidHash(t)?t:null}load(){const e=this.getHash();if(e)this.loadData(e).catch(console.error).then((e=>{e&&(this.currentAddon=e,this.onDisplay(e))}));else{window.opener&&window.opener.postMessage({status:R},$);const e=t=>{t.source===window.opener&&this.isPlatformOrigin(t.origin)&&t.data&&"object"==typeof t.data&&t.data.token&&(this.isLoadedByHash=!0,this.loadData(t.data.token).then((e=>{e&&e.type!==this.type||(CE2.Native.sessionStorage&&CE2.Native.sessionStorageWrapper.write(this.key,t.data.token),t.source.postMessage({status:e?D:O},$),e&&((0,r.ch)(window,`${this.type}Loaded`,(()=>{t.source.postMessage({status:A},$)})),this.currentAddon=e,this.onDisplay(e)))})),window.removeEventListener("message",e))};window.addEventListener("message",e)}CE2.loaded=!0}loadData(e){return new Promise(((t,i)=>{const{data:s}=CE2,n=new CE2.Native.URL(s.survey_preview_dest||s.addon_preview_dest);n.searchParams.set("token",e),n.searchParams.set("user",s.uid),n.searchParams.set("host",CE2.w.location.hostname),(0,g.get)(n.href,(e=>{e&&200===e.status&&e.responseText?t(CE2.Native.JSON.parse(e.responseText.trim())):i(new Error("Preview addon not found"))}))}))}}var U=i(4075),P=i(6832),V=i(3487);const M="ce_virtual_tracker_data",L={VISIT:"visit",SESSION_METADATA:"sessionmetadata"};class B extends P.J{constructor(e){super(e);const{site:t,session:i,goals:s}=e;this.site=t,this.goals=s,i?(this.session=i,(0,o.Yz)("[VirtualTracker] Starting",e)):(this.session=U.T.instance(),this.session||(this.session=U.T.build(!1)),this.validateSession(),(0,o.Yz)("[VirtualTracker] Starting new session",e)),this.sessionId=this.session.id,this.virtual=!0,this.setupEventHandlers(),this.session.store(),this.processBuffer({scheduleTimeout:!0}),setTimeout((()=>(0,V.ur)(this)))}validateSession(){!B.hasSessionTracker()&&this.session.isExpired()&&(this.session.reset("virtual-tracker-session-expired"),this.session=U.T.build(!1),this.sessionId=this.session.id)}update(){this.processBuffer(),this.url=window.location.href,B.hasSessionTracker()||(this.validateSession(),this.setVisitIDs(),this.triggerVisit())}triggerVisit(){this.eventHandlers[L.VISIT]&&this.eventHandlers[L.VISIT].trigger()}resetHandlers(e){for(const t in e)delete this.eventHandlers[t]}setupHandlers(e){for(const t in e)!this.eventHandlers[t]&&Object.values(L).includes(t)&&(this.eventHandlers[t]=new e[t](this));B.hasSessionTracker()||(this.triggerVisit(),this.eventHandlers[L.SESSION_METADATA]&&this.eventHandlers[L.SESSION_METADATA].trigger())}setupEventHandlers(){this.setupPageHideHandler(),this.addEventListener(CE2.opera?"unload":"beforeunload",(0,r.oI)(this,"onUnload")),this.addEventListener("keydown",(0,r.oI)(this,"onActivity")),this.addEventListener("mousemove",(0,r.oI)(this,"onActivity")),this.addEventListener("mousedown",(0,r.oI)(this,"onActivity")),this.addEventListener("scroll",(0,r.oI)(this,"onActivity"))}static hasSessionTracker(){return!!CE2.monitorSession?.id}sendEventWithStoredData(e,t={}){B.hasSessionTracker()||(this.load(),this.track=!0,this.pushToBuffer()),this.sendImmediatelly(e,t)}send(e){this.session.alive(),B.hasSessionTracker()||(this.load(),this.events.push(e),this.track?this.pushToBuffer():this.store())}store(){CE2.Native.localStorageWrapper.write(M,CE2.Native.JSON.stringify({i:this.session.id,e:this.events,t:this.track}))}sendStoredEvents(){this.load(),this.pushToBuffer()}pushToBuffer(){this.bufferQueue.push(...this.events.splice(0)),this.store()}load(){const{i:e,e:t,t:i}=CE2.Native.JSON.parse(CE2.Native.localStorageWrapper.read(M)||"{}");this.events=[],this.track=!1,e===this.session.id&&(this.events=t,this.track=!!i)}onActivity(){this.session.alive()}onPageHide(){this.onActivity(),this.processBuffer({sendBeacon:!0})}onUnload(){B.hasSessionTracker()||this.session.end(),this.processBuffer({sendBeacon:!0})}}const H=new x("survey",(async e=>(await k(m),CE2.launchAddon(m,{mode:p,addon:e}))));let z=[];const Y=e=>{const{Survey:t}=CE2;for(let e=0,t=z;e{(CE2.virtualTracker||(CE2.virtualTracker=new B({visitId:CE2.visitId,site:e.site,session:e.session}))).setupHandlers(i)})),t.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(i))})),t.on("surveyDisplay",(({id:e})=>{(0,g.sendCounter)("survey:view",e)})),t.on("questionDisplay",((e,t)=>{const i=e.questions[t]?.id;i&&(0,g.sendCounter)("question:view",`${e.id}_${i}`)}))]},G=async e=>{if("string"!=typeof e)throw new Error("Survey ID must be a string");const t=(CE2.data.addons||[]).find((t=>t.id===e));t?N(t)?(0,o.Yz)(`Addon ${e} is sampled`):(await I(),await k(m),Y({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showSurvey(e)):(0,o.Yz)(`Addon ${e} is not found`)},j=async e=>{if("string"!=typeof e)throw new Error("Survey ID must be a string");await I(),await k(m),Y({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showFeedbackSurvey(e)},W=async(e,t)=>{const{addons:i}=CE2.data;return CE2.w.CE_EXTERNAL_SURVEY?(async e=>{if(CE2.w.CE_EXTERNAL_SURVEY_PREVIEW&&"preview"===e)return await k("survey"),H.load();if("preview"!==e){await I();const{addons:e}=CE2.data;e.length&&(CE2.state.survey=e[0],await G(e[0].id))}})(e):e===p?(H.isPreview()&&await k(m),H.load()):void(i&&0!==i.filter((({type:e})=>e===m)).length?H.isPreview()||await(async e=>{await I(),await k(m),Y(e),await CE2.launchAddon(m)})(t):(0,o.Yz)("[Addons] Nothing to match"))};var K=i(8481);const F=new x("cta",(async e=>(await k(v),CE2.launchAddon(v,{mode:p,addon:e}))));let J=[];const q=e=>{const{CTA:t}=CE2;for(let e=0,t=J;e{(CE2.virtualTracker||(CE2.virtualTracker=new B({visitId:CE2.getVisitId(),site:e.site,session:e.session}))).setupHandlers(i)})),t.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(i))})),t.on("display",(e=>{e&&(async({id:e})=>{await b("crazyegg-cta")&&(0,g.sendCounter)("cta:view",e)})(e)})),t.on("click",(t=>{t&&(e=>{const t=(0,r.IS)("sessionId"),{virtualTracker:i}=CE2;if(!e||!t)return;(0,K.or)(e);const s=[(0,r.IS)("visitID"),w,(0,r.IS)("session").numberVisits(),e.id];(0,g.sendCounter)("cta:click",e.id);const n=i.newEvent(38,{attributes:s});i.sendEventWithStoredData(n)})(t,e.site)}))]},Q=async e=>{if("string"!=typeof e)throw new Error("CTA ID must be a string");const t=(CE2.data.addons||[]).find((t=>t.id===e));t?N(t)?(0,o.Yz)(`Addon ${e} is sampled`):(await I(),await k(v),q({site:CE2.site,session:CE2.monitorSession}),CE2.CTA.showCTA(e)):(0,o.Yz)(`Addon ${e} is not found`)},X=async(e,t)=>{if(e===p)return F.isPreview()&&await k(v),F.load();const{addons:i}=CE2.data;i&&0!==i.filter((({type:e})=>e===v)).length&&(F.isPreview()||await(async e=>{await I(),await k(v),q(e),await CE2.launchAddon(v)})(t))};var Z=i(474),ee=i(7471);const te=[s,n],ie=(e,t={})=>{CE2.data.addons=(CE2.data.addons||[]).filter((e=>!1===N(e)));for(let i=0;i(0,Z.mF)({resourceType:e.type,resourceId:e.id},(()=>(0,ee._9)(e.config.audience?.conditions,t)));var re=i(715);const oe="text-entry/email",ae=["multi-choice/single","multi-choice/multi","text-entry/short","text-entry/long",oe,"rating/stars","rating/numerical","rating/smiley","rating/NPS"],ce=e=>!e.some((e=>0!==e&&!e)),de=e=>[e.questionType,e.questionId,e.questionText,e.response,e.questionPosition,e.otherResponse],le=e=>CE2.tracker?.[e]||CE2.virtualTracker?.[e],ue=(e,t,i=null)=>{if(!e||!t.length)return(0,o.Yz)("Survey: invalid arguments");if(!((e,t)=>{const i=!e||ce(Object.values(e)),s=!t.map((e=>ce(Object.values(e))&&ae.includes(e.questionType))).some((e=>!e));return i&&s})(i,t))return(0,o.Yz)("Survey: Invalid survey or response structure");if(!CE2.virtualTracker)return(0,o.Yz)("Survey: do not send responses in preview mode");const s=t.map(de),{virtualTracker:n}=CE2,r=[le("visitID"),CE2.visitorTracker.getIdentification(),i?.id||"",i?.formatVersion||"",e,le("session")?.numberVisits(),s,CE2.w.location.href],a=n.newEvent(28,{attributes:r});if(n.sendEventWithStoredData(a),CE2.data.auto_identity&&!CE2.IDENTIFIER){const e=t.find((e=>e.questionType===oe&&e.response));(0,re.ls)(e?.response)}};var he=i(3201),ge=i(2759),Ee=i(4808);const pe=function(e,t,i){return new Promise(((s,n)=>{const r=[],o=[];let a,c=0,d=0;const l=()=>{if(d>=e.length&&!a)return void(a=Promise.all(o).then((()=>{s(r)})).catch((e=>{n(e)})));if(d>=e.length)return;const u=e[d];d+=1;const h=i(u);o.push(h),h.then((e=>{r.push(e),c-=1,l()})).catch((e=>{n(e)})),c+=1,c{t.status<200||t.status>=300?ye(`Error loading latest HUD version: ${t.status} ${t.statusText}`):e(t.responseText.trim())}))}(),CE2.state.loadedHUD=!0,CE2.Native.localStorage.setItem("powerup","true"),!0)}catch(e){return ye(e),!1}},Te=function(){try{if(Se())return Ie(),!0}catch(e){ye(e)}return!1},ke={startListener(){CE2.w.opener&&CE2.w.addEventListener("message",ke.onMessage)},stopListener(e,t){CE2.w.removeEventListener("message",ke.onMessage),e.postMessage({hudLaunched:!0},t)},onMessage(e){try{if(ye("Received message"),e.source!==CE2.w.opener)return void ye("Unexpected source");if(![CE2.data.ce_app_url,...CE2.data.hud.launch_origins].includes(e.origin))return void ye("Unexpected source url");const t=e.data;if(!t||"object"!=typeof t)return void ye("Unexpected message");if("number"!=typeof t.launcherId)return void ye("Unexpected launcherId");CE2.Native.sessionStorage.setItem("ce-hud-launch-params",CE2.Native.JSON.stringify(t)),ke.stopListener(e.source,e.origin),Ie()}catch(e){ye(e)}}},be=function(){if(CE2.data&&CE2.data.hud)try{!function(){try{if(void 0===CE2.Native.localStorage)return!1;if(void 0===CE2.Native.localStorage.getItem)return!1;const e=Boolean(CE2.Native.sessionStorage&&"function"==typeof CE2.Native.sessionStorage.getItem&&CE2.Native.sessionStorage.getItem("ce-hud-launch-params"));return!(CE2.w.opener&&!Se()&&!e||!CE2.Native.localStorage.getItem("powerup")||(Ie(),0))}catch(e){return ye(e),!1}}(),CE2.w.addEventListener("hashchange",Te),Te(),ke.startListener()}catch(e){ye(e)}};function Ne(){try{if(function(e){return!window.__CE_SCRIPT_CHECK&&(!!/bingpreview|prerender|jorgee|Mediapartners-Google|APIs-Google|phpcrawl|GoogleAdSenseInfeed|Google Page Speed Insights|Google-Ads-Overview|Google-Read-Aloud|Google-Structured-Data-Testing-Tool|Data Theorem|alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo|yandex|phantom|headless|BrandVerity|ruxitsynthetic|Chrome-Lighthouse/i.test(e)||void 0)}(navigator.userAgent))return"userAgent";if(!1===navigator.onLine)return"navigator.onLine";const t=((e=window).innerHeight>=16384||e.innerWidth>=16384)&&"viewport-inner";if(t)return t;if(!navigator.language||navigator.languages&&0===navigator.languages.length)return"language";if(navigator.webdriver)return"webdriver";if(window.jasmine)return"jasmine";const i=["__webdriver_evaluate","__selenium_evaluate","__webdriver_script_function","__webdriver_script_func","__webdriver_script_fn","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__driver_evaluate","__selenium_unwrapped","__fxdriver_unwrapped"],s=["webdriver","_phantom","__nightmare","_selenium","callPhantom","callSelenium","_Selenium_IDE_Recorder"];for(let e=0;e0;)e.pop().call();$e=!0};if($e&&e(),(0,r.KT)(window,"load",e),CE2.d.addEventListener&&(0,r.KT)(CE2.d,"DOMContentLoaded",e),CE2.d.readyState){const t=Ae;!function i(){t.test(CE2.d.readyState)?e():setTimeout(i,10)}()}},Pe="ce_successful_csp_check";class Ve{load(){return this.loadPromise||(this.loadPromise=new Promise((e=>{if(CE2.benchmark.start("navigation|crazyegg|common|userdatamain|load-csp"),void 0===this.isSuccessful&&(this.isSuccessful=Ve.get()),void 0!==this.isSuccessful)return CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-csp"),void e();const t=[CE2.data.page_states_tracking_url,CE2.data.assets_tracking_url].map((e=>e?new Promise((t=>{(0,g.get)(`${e}/healthcheck`,(e=>{e&&200===e.status&&e.responseText?(e=CE2.Native.JSON.parse(e.responseText.trim()),t("ok"===e.status)):t(!1)}))})):Promise.resolve(!0)));t.push(Ve.getInlineWorkerPromise()),Promise.all(t).then((t=>{this.isSuccessful=-1===t.findIndex((e=>!1===e)),this.isSuccessful&&Ve.store(),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-csp"),e()}))}))),this.loadPromise}hasIssues(){return!this.isSuccessful}static getInlineWorkerPromise(){return new Promise((e=>{try{const t=(0,r.I3)("crazyegg-csp-check",(e=>{self.postMessage(e.data)}),!1);if(t){const i=setTimeout((()=>{t.terminate(),e(!1)}),500);t.onmessage=s=>{clearTimeout(i),t.terminate(),e("hello"===s.data)},t.postMessage("hello")}else e(!1)}catch(t){e(!1)}}))}static store(){CE2.Native.localStorageWrapper.write(Pe,+new Date+864e5)}static get(){let e=CE2.Native.localStorageWrapper.read(Pe);if(e){if(e=parseInt(e,10),e>+new Date)return!0;CE2.Native.localStorageWrapper.remove(Pe)}}}const Me=new Ve,Le=function(){const e="!$%&()*+,-.0123456789;<=>?@[]^_`{|}~",t={};let i;for(i=0;i<36;i++)t[e.charAt(i)]=i.toString(36);return t}(),Be=function(e){return parseInt(e.replace(/./g,(e=>Le[e])),36)},He=function(e){let t="";const i=/(![^:\/a-z])|([^:\/a-z]{2})|(:[^:\/a-z]{3})|(\/[^:\/a-z]{4})/gi,s=String.fromCharCode;let n;for(;null!=(n=i.exec(e));)n[1]||n[2]?t+=s(Be(n[0])):n[3]?t+=s(Be(n[3].substr(1))):n[4]&&(t+=s(Be(n[4].substr(1))));return t};var ze=i(9880);const Ye=function(){const e="v11slnt";function t(){_.i.set(e,+new Date)}function i(){const t=function(){const t=_.i.get(e);if(t)return parseInt(t,10)}();return!!t&&+new Date-t<6e5}return{slow:()=>{if((0,r.jI)("v11_record_slow_network"))return!1;try{return function(){if(navigator&&navigator.connection&&navigator.connection.downlink){const{downlink:e}=navigator.connection;e<.5&&t()}}(),function(){if(performance&&performance.getEntriesByType){const e=performance.getEntriesByType("resource");if(void 0===e||e.length<=0)return!1;let i,s;for(let t=0;t1e3&&t()}}}(),i()}catch(e){return(0,Ee.A)(e),!1}}}};function Ge(e){if(""!==e&&!/^\s*#.*$/.test(e))return e.replace(/\s*#.*$/,"")}function je(e,t){return t.indexOf("-")>-1?function(e,t){if(-1===e.indexOf("."))return!1;const i=e.split("."),s=Ge(t);if(!s)return!1;const n=s.split("-");if(!n[0]||!n[1])return!1;const r=n[0].split("."),o=n[1].split(".");for(let e=0;e<4;e++){if(!r[e]||!o[e])return!1;if("*"===r[e]||"*"===o[e])continue;const t=parseInt(i[e],10);if(tparseInt(o[e],10))return!1}return!0}(e,t):t.indexOf(":")>-1?function(e,t){if(-1===e.indexOf(":"))return!1;const i=e.split(":"),s=Ge(t);if(!s)return!1;const n=s.split(":");for(let e=0;e{et(e,t,i)}},it=function(e,t,i=!1){const s=i?"matched":"rejected";Xe.push({id:e.id,result:s,message:t})},st=function(e){return(t,i=!1)=>{it(e,t,i)}},nt=function(e){let t,i;const{rules:s}=e;if(CE2.data.disable_recordings_mobile&&1!==CE2.clock.getDeviceType())return et({disable_recordings_mobile:CE2.data.disable_recordings_mobile,device:CE2.clock.getDeviceType()},"disabled mobile",!1),!1;if(e.pageTargetingEnabled){if(1===Ke)return!0;if(s&&s.length)for(t=0;i=s[t++];)if((0,ve.$)(i.u,CE2.w.location.href,i.o,null,null,tt(i)))return!0;return!1}return et({},"All pages",!0),!0};const rt=function(e){if(!e.sessionRecording)return void(0,o.Yz)("[Sessions] Recordings disabled");if(!(e.recordingSettings&&e.recordingSettings.recordIframes)&&CE2.w.parent!==CE2.w){const e=(0,r.Ep)(),t=(0,r.R2)().substr(1);if(e&&e.indexOf(t)>-1)return void(0,o.Yz)("[Sessions] Recordings prevented from iframe")}const t=nt(e.recordingSettings),i=e.recordingSettings&&function(e){const{blockedRules:t}=e;return Qe()||(0,ve.e)(t)}(e.recordingSettings),s=(new Ye).slow()?"slow network":(0,r.Qb)()?Me.hasIssues()?"site has csp issue":void 0:"inline-workers not supported";let n=U.T.instance();if(n&&n.isFull())return s?(n.reset(s),void(0,r.GO)(`[Sessions] Stopped: ${s}`)):n.isExpired()?void n.reset("expired"):i&&(e.recordingSettings.endSessionOnBlockedUrl||Qe())?(n.reset("page-blocked"),void(0,r.GO)("[Sessions] Page blocked and marked to end")):i?void(0,r.GO)("[Sessions] Page blocked"):((0,o.Yz)("[Sessions] Continued"),n);if((0,o.Yz)("[Sessions] Matching parameters",CE2.w.location.href),(0,o.Yz)("[Sessions] Matching target",Ze),Ze=[],!t)return void(0,o.Yz)("[Sessions] No matches");if((0,o.Yz)("[Sessions] Matched",{url:CE2.w.location.href}),i)return void(0,o.Yz)("[Sessions] Page blocked");if(s)return void(0,o.Yz)(`[Sessions] Won't start: ${s}`);const a=new ze.w(e);return a.validRatio()&&a.canRecord()?(n&&!n.isDeleted()?(n.becomeFull(),(0,o.Yz)("[Sessions] Sampling accepted, starting new from virtual")):(n=U.T.build(!0,a.ratio,a._appliedStrategy()),(0,o.Yz)("[Sessions] Sampling accepted, starting new")),n):((0,o.Yz)("[Sessions] Sampling rejected"),!1)},ot=function(e,t,i,s,n,r){if(void 0===e.isBlocked&&(e.isBlocked=new We(e.ip).blocked(r)),e.isBlocked)return it(e,"IP blocked"),!1;if(De())return it(e,"bot blocked"),!1;if(e.vid){const t=s.includes(e.vid)&&(!CE2.Native.Array.isArray(e.d)||e.d.indexOf(CE2.clock.getDeviceType())>=0);return it(e,`variantid=${s.join(",")} allowed=${e.vid}`,t),t}return n&&Object.values(n).length&&e.o&&/go/.test(e.o)?(0,ve.$)(e.u,n,e.o,e.d,CE2.n.userAgent,st(e)):i&&e.o&&/n/.test(e.o)?(0,ve.$)(e.u,i,e.o,e.d,CE2.n.userAgent,st(e)):(0,ve.$)(e.u,t,e.o,e.d,CE2.n.userAgent,st(e))},at="cebsp_";const ct=new class{constructor(){this.numPages=0}load(){this.numPages=(0,r.Ri)(at),this.numPages=this.numPages?parseInt(this.numPages,10):0}pageChanged(){this.numPages++,(0,r.o)(at,this.numPages)}getPages(){return this.numPages}};class dt{constructor(){CE2BH.defineProperty(this,"CURRENT_RETURNING_WINDOW_MSEC",18e5),CE2BH.defineProperty(this,"RETURNING_WINDOW_MSEC",2592e6),CE2BH.defineProperty(this,"visitorV6Key","_cer.v"),CE2BH.defineProperty(this,"visitorKey","v"),CE2BH.defineProperty(this,"visitorIdentificationKey","vi"),CE2BH.defineProperty(this,"visitorIsReturningKey","vir"),CE2BH.defineProperty(this,"visitorLastVisitAtKey","lva"),CE2BH.defineProperty(this,"visitorVisitsKeyLegacy","vv"),CE2BH.defineProperty(this,"visitorVisitsKey","vpv"),CE2BH.defineProperty(this,"browserSessionCookie","cebs"),CE2BH.defineProperty(this,"firstVisitDataKey","ce_fvd"),this.id=null,this.identification=void 0,this.storedId=null,this.numVisits=null,this.visitorV6Parts=null,this.firstVisitData=null,(0,r.Ri)(this.visitorV6Key)&&(this.visitorV6Parts=(0,r.Ri)(this.visitorV6Key).split("."))}load(){this.loadVisitorId(),this.loadVisitorIdentification(),this.loadVisitorVisits(),this.loadFirstVisitData()}identify(e){e&&(CE2.IDENTIFIER=this.identification=e,_.i.set(this.visitorIdentificationKey,this.identification))}clearIdentity(){CE2.IDENTIFIER=null,_.i.del(this.visitorIdentificationKey)}del(e){_.i.del(e)}reset(){this.del(this.visitorKey),this.del(this.visitorVisitsKey)}loadVisitorId(){if(this.storedId=_.i.get(this.visitorKey),window.CE_VISITOR_ID)this.id=window.CE_VISITOR_ID,this.storedId&&window.CE_VISITOR_ID!==this.storedId&&this.reset();else if(this.storedId)this.id=this.storedId;else if(this.visitorV6Parts){const[e]=this.visitorV6Parts;this.id=e,_.i.set(this.visitorKey,e)}else this.id=(0,Ce.M4)(),_.i.set(this.visitorKey,this.id)}loadVisitorIdentification(){const e=_.i.get(this.visitorIdentificationKey);CE2.IDENTIFIER?this.identification=CE2.IDENTIFIER:e&&(this.identification=e,CE2.IDENTIFIER=this.identification)}loadVisitorVisits(){const e=!(0,r.Ri)(this.browserSessionCookie);e&&(this.isReturning(),CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),(0,r.o)(this.browserSessionCookie,"1"),_.i.get(this.visitorVisitsKey)?this.numVisits=parseInt(_.i.get(this.visitorVisitsKey),10):_.i.get(this.visitorVisitsKeyLegacy)?this.numVisits=1:this.visitorV6Parts&&this.visitorV6Parts[2]&&(this.numVisits=parseInt(this.visitorV6Parts[2],36)),null===this.numVisits?(this.numVisits=0,_.i.set(this.visitorVisitsKey,this.numVisits)):e&&(this.numVisits+=1,_.i.set(this.visitorVisitsKey,this.numVisits))}loadFirstVisitData(){let e=CE2.Native.localStorageWrapper.read(this.firstVisitDataKey);if(e)this.firstVisitData=CE2.Native.JSON.parse(e);else{const{userData:t}=CE2.state;e={landingUrl:CE2.w.location.href,referrer:CE2.d.referrer,time:Date.now(),utm:(0,r.ne)(),userData:Object.values(t).length>0?[t[1],t[2],t[3],t[4],t[5]]:[]},this.firstVisitData=e,CE2.Native.localStorageWrapper.write(this.firstVisitDataKey,CE2.Native.JSON.stringify(e))}}isReturning(){return this.returningState().state===dt.RETURNING_STATE.RETURNING}returningState(){if(void 0!==this.isReturningCache)return this.isReturningCache;let e=_.i.get(this.visitorIsReturningKey),t=_.i.get(this.visitorLastVisitAtKey),i=!1;e||(e=dt.RETURNING_STATE.NEW,t=Date.now(),CE2.Native.localStorage.removeItem(this.firstVisitDataKey));const s=Date.now()-t;return s>this.CURRENT_RETURNING_WINDOW_MSEC&&(e=dt.RETURNING_STATE.RETURNING,CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),s>this.RETURNING_WINDOW_MSEC&&(e=dt.RETURNING_STATE.NEW,i=!0,CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),(0,o.Yz)(`[Visitor] IsReturning id=${this.id} state=${e} lastVisit=${t} reset=${i}`),t=Date.now(),_.i.set(this.visitorIsReturningKey,e),_.i.set(this.visitorLastVisitAtKey,t),this.isReturningCache={state:e,reset:i},this.isReturningCache}setIdentityFromUrl(){const e=CE2.site?.autoIdQueryParam||"CE_ID",t=new CE2.Native.URL(CE2.w.location.href).searchParams.get(e);"string"==typeof t&&0!==t.trim().length&&this.identify(t)}}CE2BH.defineProperty(dt,"RETURNING_STATE",{NEW:"new",RETURNING:"returning"});const lt=new dt,ut=function(){return{isReturning:()=>lt.isReturning(),returningState:()=>lt.returningState(),getId:()=>lt.id,getIdentification:()=>lt.identification,getStoredId:()=>lt.storedId,getNumVisits:()=>lt.numVisits,getFirstVisitData:()=>lt.firstVisitData,setIdentityFromUrl:()=>lt.setIdentityFromUrl(),load(){lt.load()},identify:e=>lt.identify(e),clearIdentity(){lt.clearIdentity()}}};var ht=i(401);const gt="_ce.clock_data",Et=",",pt=/^[123]$/;const Ct=new class{getData(){return(0,r.Ri)(gt)}load(){if(this.loadPromise)return this.loadPromise;const e=this;return this.loadPromise=new Promise(((t,i)=>{CE2.benchmark.start("navigation|crazyegg|common|userdatamain|load-clock");const s=(0,r.Ri)(gt);if(s){const[i,n,r,o,a,c]=s.split(Et);if(!o||o===(0,ht.F)(CE2.n.userAgent))return i&&n&&(e.diff=parseInt(i,10),e.ip=n,e.device=r&&pt.test(r)?parseInt(r,10):void 0,e.userAgentMd5=o,e.browser=a,e.country=c,e.valid=!0),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-clock"),CE2.debug("[Clock] Loaded from cookie",s),void t();CE2.debug("[Clock] User agent changed, reloading")}const n=s=>{const[n,a,c,d,l]=s.responseText.split(Et),u=parseInt(n,10);if(u>0){const i=+new Date-u;e.diff=i,e.ip=a,e.device=c&&pt.test(c)?parseInt(c,10):void 0,e.browser=d,e.country=l,e.userAgentMd5=(0,ht.F)(CE2.n.userAgent),e.valid=!0;const s=[i,a,e.device,e.userAgentMd5,e.browser,e.country].join(Et);(0,r.o)(gt,s,{expiresInDays:1}),(0,o.Yz)("[Clock] Fetch from api",s),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-clock"),t()}else(0,o.Yz)("[Clock] Error, stopping"),i()};let a,c,d;if(CE2.site?.id&&!CE2.w.CE_SITE_ID){c=CE2.data.uid,d=CE2.site.id;const e=[(0,Ce.M4)(0,1),CE2.visitorTracker.getId(),36,CE2.VERSION,+new Date,CE2.tabId],t=CE2.visitorTracker.getFirstVisitData();a=[e,[CE2.getVisitId(),t.landingUrl,t.referrer,(0,r.ne)(t.landingUrl),CE2.w.CE_URL_FINGERPRINT(),CE2.visitorTracker.isReturning()?1:0,CE2.visitorTracker.getNumVisits()]]}(0,r.ou)()?n({responseText:[+new Date,"99.99.99.99",1,"chrome","US"].join(Et)}):(0,g.sendEvents)({userId:c,siteId:d,context:"Clock",t:+new Date,endpoint:CE2.data.clock_url,callback:n},a?[a]:[])})),this.loadPromise}getIP(){return this.ip}getDiff(){return this.diff}getBrowser(){return this.browser}getCountry(){return this.country}getDate(){if(this.valid)return new Date(+new Date-this.diff)}getDateUnix(){const e=this.getDate();if(e)return Math.floor(e/1e3)}getDeviceType(){return this.device?this.device:((0,o.Yz)("[Clock] Clock didn't know device. Using deviceType() instead."),function(e){const t=e.toLowerCase();let i,s,n=0;if(i=e.indexOf("("),-1==i)return 1;if(i++,-1!=(s=e.indexOf("Android",i))){if(s+=8,e.length>s&&(n=e.charAt(s)))switch(n){case"2":if(-1!=e.indexOf("BNTV",s))return 3;if(-1!=t.indexOf("nook",s))return 3;if(-1!=e.indexOf("Kindle",s))return 3;if(-1!=e.indexOf("Touchpad",s))return 3;break;case"3":return 3;case"4":if(-1!=e.indexOf("Silk",s))return 3}return-1!=t.indexOf("tablet",s)?3:-1!=e.indexOf("Mobi",s)?2:3}if(-1!=(s=e.indexOf("iP",i)))switch(n=e.charAt(s+2),n){case"a":return 3;case"h":case"o":return 2}return-1!=(s=e.indexOf("BlackBerry",i))?-1!=e.indexOf("Tablet",s+10)?3:2:-1!=e.indexOf("Windows Phone",i)||-1!=e.indexOf("BB10",i)||"M"!=e.charAt(0)&&-1!=e.indexOf("Opera Mini",i)?2:1}(CE2.n.userAgent))}};var ft=i(5736);class mt extends ft.A{constructor(...e){super(...e),this.site=CE2.site,this.visitData=this.visitor.getFirstVisitData(),this.bufferTimeoutInterval=6e4,this.processBuffer({scheduleTimeout:!0}),this.setupPageHideHandler()}trigger({flowsMatching:e}){const{w:t}=CE2;let i;e&&([i]=e),this.bufferQueue.push(this.newEvent(39,{attributes:[this.visitor.getIdentification(),t.location.href,t.CE_URL_FINGERPRINT?.(),this.visitData.referrer,this.visitData.utm,this.visitData.landingUrl,this.visitor.isReturning(),i?.flow?.name,i?.flow?.id,i?.variant?.name,i?.variant?.id]}))}setupPageHideHandler(){(0,r.KT)(CE2.w,"visibilitychange",(()=>{"visible"!==CE2.d.visibilityState&&this.processBuffer({sendBeacon:!0})}))}}class vt{constructor(){CE2BH.defineProperty(this,"PREVIOUS_VISIT_ID","pv"),CE2BH.defineProperty(this,"TRACE_TYPE","analytics_27"),CE2BH.defineProperty(this,"CURRENT_TRIGGER",null),CE2BH.defineProperty(this,"TRIGGERS",{INTERVAL:"interval",VISIBILITY_CHANGE:"visibilityChange",UNLOAD:"unload"}),this.device=CE2.clock.getDeviceType(),this.storage=CE2.Native.sessionStorageWrapper,this.previousVisitId=(0,r.Ri)(this.PREVIOUS_VISIT_ID),(0,r.o)(this.PREVIOUS_VISIT_ID,CE2.getVisitId())}reset(){this.CURRENT_TRIGGER=null}setup(){const e={visit_id:CE2.getVisitId&&CE2.getVisitId(),prev_visit_id:this.previousVisitId,device:this.device,url:CE2.w.location.href};(0,o.aQ)("analytics",CE2BH.extends({},e,{event:"load"})),CE2.w.addEventListener(CE2.opera?"unload":"beforeunload",(()=>{if(this.CURRENT_TRIGGER)(0,o.aQ)(this.TRACE_TYPE,CE2BH.extends({},e,{event:"engagementTime"}));else{const t=this.TRIGGERS.UNLOAD;(0,o.aQ)(this.TRACE_TYPE,CE2BH.extends({},e,{event:"pageView",trigger:t})),this.CURRENT_TRIGGER=t}})),CE2.w.addEventListener("visibilitychange",(()=>{if(this.CURRENT_TRIGGER)return;const t=this.TRIGGERS.VISIBILITY_CHANGE;(0,o.aQ)(this.TRACE_TYPE,CE2BH.extends({},e,{event:"pageView",trigger:t})),this.CURRENT_TRIGGER=t}))}}let wt;CE2.clock=Ct,CE2.csp=Me,CE2.eventTypes={VISIT:1,CLICK:2,SCROLL:3,MOUSE_MOVEMENT:4,PAGE_STATE:5,RESIZE:6,SESSION_SCROLL:7,ERROR:8,PAGE_LOAD:9,INACTIVE:10,TYPING:11,CUSTOM:12,PAGE_VISIBILITY:13,DOM_CONTENT_LOADED:14,FIRST_CONTENTFUL_PAINT:15,DOM_INTERACTIVE:16,IDENTIFY:17,CUSTOM_USER_DATA:18,TAG:19,SESSION_RATIO:20,VALID_SESSION:21,END_SESSION:22,ECOMMERCE:23,FORM:24,CUSTOM_PERFORMANCE:25,GOAL_CONVERSION:26,ASSETS:27,SURVEY_RESPONSE:28,EXCESSIVE_SCROLL:29,LONG_TASK:30,FIRST_INPUT_DELAY:31,CUMULATIVE_LAYOUT_SHIFT:32,LARGEST_PAINT:33,QUICKBACK:34,SESSION_WORTH:35,DAILY_VISIT:36,DAILY_VISIT_COUNTER:37,ADDON_CLICK:38,PAGE_VIEW:39,AB_TEST_VIEW:40,AB_TEST_CONVERSION:41},CE2.clickTypes={RAGE:"r",AUTH_BUTTON:"a",NOT_CLICKABLE:"d"},CE2.getVisitId=()=>CE2.visitId,CE2.getSessionId=()=>U.T.currentSessionId();const _t=function(){CE2.bh&&(CE2.bh.parentElement.removeChild(CE2.bh),CE2.bh=null)},yt=function(e=!0){return Promise.all([CE2.clock.load(),e?CE2.csp.load():Promise.resolve()])},St=function(e){if(!CE2.data||!CE2.data.features)return!1;for(let t=0,i=CE2.data.features;te.id===CE2.w.CE_SITE_ID))):s&&(CE2.sites=s,CE2.site=t=(0,r.DQ)(s));const d=function(){try{CE2.Native.localStorage.setItem("ce_localstorage_test",""),CE2.Native.localStorage.removeItem("ce_localstorage_test")}catch(e){return console.log(e.message),"localStorage not available"}return!!(0,r.uh)("_ce.cch")||"cookies not available"}();if(!0!==d)return void It(`Not tracking: can't run - ${d}`);if(CE2.hudMain&&CE2.hudMain(),CE2.bot)return void It(`Not tracking: bot detected - ${CE2.bot}`);if((0,r.LB)(CE2.w,CE2.d,CE2.n,CE2.ie))return void It("Not tracking: doNotTrack detected.");if(St("disable-tracking"))return void It("Not tracking: disabled.");if(_t(),t){(0,r.ch)(CE2.w,"pageshow",(e=>{e.persisted&&(delete CE2.monitorPagePath,delete CE2.monitorPageUrl)})),!CE2.data.sites_sampling&&CE2.data.samplingData&&CE2.data.samplingData.sites_sampling&&(CE2.data.sites_sampling=CE2.Native.JSON.parse(He(CE2.data.samplingData.sites_sampling)));const e=new Map((i||[]).map((e=>[e.id,e])));if(CE2.testID=CE2.testVersion=null,CE2.tabId=(0,Ce.vU)(),CE2.visitorTracker=ut(),CE2.visitorTracker.load(),CE2.visitorTracker.setIdentityFromUrl(),ct.load(),await yt(!!t.sessionRecording),CE2.benchmark.stop("navigation|crazyegg|common|usermain"),ie(p,{site:t}),new We(a).blocked(CE2.clock.getIP()))return(0,o.Yz)("[Loading] IP Blocked",CE2.clock.getIP()),void(CE2.ipBlocked=!0);CE2.ipBlocked=!1,St("page-view")&&(CE2.pageViewTracker=new mt),St("analytics-events")&&(CE2.engagementTracker=new vt,CE2.engagementTracker.setup()),"function"==typeof CE2.initFlowTracking?CE2.flowsMatching=await CE2.initFlowTracking():(0,h.bU)()&&(0,h.UE)(),wt=async function(){try{CE2.benchmark.start("navigation|crazyegg|common|monitor");const s=CE2.w.location.href,a=CE2.w.location.pathname,d=CE2.flowsMatching&&CE2.flowsMatching.map((e=>e.flow?.trackByVariant&&e.variant.variantId))||[],l="string"==typeof CE_SNAPSHOT_NAME&&CE_SNAPSHOT_NAME.trim(),u=function(e){const t={};if(e&&e.length){const{gaData:i,google_optimize:s}=CE2.w;e.forEach((e=>{if(e&&"go"==e.o){const n=(e.u||"").split(".");if(n[1]){const e=i?.[n[0]]?.experiments?.[n[1]]||s?.get?.(n[1]);e&&(t[n[1]]=e)}}}))}return t}(i),E=CE2.clock.getDateUnix();let p=!1,C=!1,m=CE2.monitorSession,v=(CE2.monitorSnapshotIds?CE2.monitorSnapshotIds.split(","):[]).map((t=>e.get(parseInt(t,10))));const w=v.filter((e=>e&&e.e&&E>=e.e)).sort().map((e=>e.id)).join(",");let _=CE2.monitorGoalIds;if(CE2.monitorPageUrl==s&&CE2.monitorVariantIds==CE2.Native.JSON.stringify(d)&&CE2.monitorGaData==CE2.Native.JSON.stringify(u)&&CE2.monitorCESnapshotName==l&&CE2.monitorExpiredSnapshotIds==w&&!CE2.recordingSettingChanged)return;(0,r.Rc)(),CE2.monitorPagePath!==a&&(p=!0),CE2.monitorPageUrl!==s&&(C=!0),p&&CE2.pageViewTracker?.trigger({flowsMatching:CE2.flowsMatching}),p&&((0,Z.$K)(),CE2.applyVersion?.()),!C||c||CE2.flowPatchApplied||("function"==typeof CE2.initFlowTracking?CE2.flowsMatching=await CE2.initFlowTracking():(0,h.bU)()&&(0,h.UE)()),CE2.monitorPagePath=a,CE2.monitorPageUrl=s,CE2.monitorVariantIds=CE2.Native.JSON.stringify(d),CE2.monitorGaData=CE2.Native.JSON.stringify(u),CE2.monitorCESnapshotName=l,CE2.monitorExpiredSnapshotIds=w,CE2.logHistoryEnabled=!0,p?(CE2.engagementTracker?.reset(),ct.pageChanged(),m=rt(t),ie(f,{site:t,session:m})):CE2.recordingSettingChanged&&(m=rt(t)),CE2.recordingSettingChanged=!1,i&&i.length?v=function(e,t,i,s,n){(0,o.Yz)("[Snapshots] Matching parameters",{pageUrl:t,ceSnapshotName:i,variantIds:s,gaData:n});const r=[],a=new Set(CE2.scriptCheckMatchingSnapshots),c=CE2.clock.getIP();if(!e||!e.length)return;const d=CE2.clock.getDateUnix();let l=null;for(let o=0;od)?(it(u,"pending"),CE2.p[u.id]=u):ot(u,t,i,s,n,c)&&(null===l&&(l=u.v),u.v===l?r.push(u):it(u,`incompatible format version (snapshot: ${u.v}, target:${l})`),a.add(u.id))}return a.size>0&&(CE2.scriptCheckMatchingSnapshots=CE2.Native.Array.from(a)),(0,o.Yz)("[Snapshots] Matching targets",Xe),Xe=[],r}(i,s,l,d,u):(0,o.Yz)("[Snapshots] Nothing to match"),v.length>0?((0,o.Yz)("[Snapshots] Matched",v),CE2.scriptCheckSelectedSnapshot=v[0].id,CE2.scriptCheckSelectedSnapshots=v.map((e=>e.id))):i&&i.length&&(0,o.Yz)("[Snapshots] No matches");const y=function(e,t){return e&&t?e.filter((e=>e.site_id===t.id)):((0,o.Yz)("[Goals] Nothing to match"),[])}(n,t)||[];if(y.length&&((0,o.Yz)("[Goals] Matched",y),_=y.sort().map((e=>e.id)).join(",")),CE2.virtualTracker||(CE2.virtualTracker=new B({visitId:CE2.getVisitId(),site:t,session:m,goals:y})),St("v11_session_logs")&&m&&m.isNew()||"undefined"!=typeof CE_SESSION_LOG&&CE_SESSION_LOG){const e=(CE2.state?.logHistory||[]).map((e=>`${m.id}: ${e}`));e.length>0&&(0,g.send)(`${CE2.data.v11_tracking_dest}/logs`,e.join("\n"),{sendBeacon:!0})}CE2.state&&(CE2.state.logHistoryEnabled=!1,CE2.state.logHistory=[]),c=!1;const S=v.map((e=>e.id)).sort().join(",");if(m===CE2.monitorSession&&S===CE2.monitorSnapshotIds&&_===CE2.monitorGoalIds&&CE2.state?.survey===CE2.monitorSurvey&&!p)return;CE2.monitorSession=m,CE2.monitorSnapshotIds=S,CE2.monitorGoalIds=_,CE2.monitorSurvey=CE2.state?.survey,p&&CE2.virtualTracker&&CE2.virtualTracker.update(),m||v.length||y.length?CE2.loadSessionTrackingScript((()=>{!function(e,t,i,s,n){const a={};e&&e.length&&(a.snapshots=e.map((e=>({id:e.id,version:e.v})))),i&&(a.session=i.id||i),n&&(a.goals=n.map((e=>e.id)));const c=(e||[]).filter((e=>(0,r._3)(e)));if(c.length&&(CE2.testID=c.map((e=>e.id)),CE2.testVersion=c.map((e=>e.v))),CE2.tracker){if(CE2.tracker.visitor&&(a.visitor=CE2.tracker.visitor.getId()),!CE2.tracker.session||i)return(0,o.Yz)("[Loading] Updating Tracker",a),void CE2.tracker.update(c,i,s);CE2.resetTracker()}c.length||i||n?(CE2.tracker=new CE2.V11Tracker({version:CE2.VERSION,visitId:CE2.getVisitId(),snapshots:c,session:i,censoredElements:CE2.getCensoredElements(t),site:t,goals:n}),a.visitor=CE2.tracker.visitor.getId(),(0,o.Yz)("[Tracker] Starting",a)):(0,o.Yz)("[Tracker] Not started",a)}(v,t,m,p,y)})):CE2.tracker&&CE2.resetTracker(),CE2.benchmark.stop("navigation|crazyegg|common|monitor"),CE2.benchmark.stop("navigation|crazyegg|common"),CE2.benchmark.stop("navigation|crazyegg"),CE2.benchmark.stop("navigation"),CE2.loaded=!0,CE2.benchmark.autoReport()&&setTimeout((()=>CE2.benchmark.report()),5e3)}catch(e){(0,o.Yz)(e)}},await async function(){(0,o.Yz)("[Loading] Starting Monitor"),wt&&!De()&&(await wt(),setInterval(wt,1e3))}()}else It("No site match."),CE2.loaded=!0}catch(e){(0,o.Yz)(e)}finally{_t()}},bt=async function(){CE2.visitorTracker=ut(),CE2.visitorTracker.load(),ct.load(),_t(),CE2.site={id:1,name:(0,r.R2)()},await yt(),CE2.loadSessionTrackingScript((()=>{(0,o.Yz)("[Tracker] Starting Test Mode"),CE2.tracker=new CE2.V11Tracker({version:CE2.VERSION,visitId:CE2.getVisitId(),snapshots:[{id:"testsnapshot"}],session:U.T.build(),censoredElements:[]}),CE2.tracker.testMode=!0,ie(C,{site:CE2.site,session:CE2.tracker.session})}))},Nt=async function(){CE2.benchmark.start("navigation|crazyegg|common|userdatamain"),CE2.visitId=(0,Ce.M4)(0,1),CE2.bot=De(),(0,r.ou)()?bt():CE2.commonScriptForceLoaded?(be(),await yt(),ie(p)):CE2.data?Tt((()=>{CE2.benchmark.stop("navigation|crazyegg|common|userdatamain"),kt()})):CE2.data||"string"!=typeof CE_USER_DATA_URL?(0,o.Yz)("No CE2.data nor CE_USER_DATA_URL found, stopping."):((0,o.Yz)(`No CE2.data, loading user data for CE_USER_DATA_URL=${CE_USER_DATA_URL}.`),(0,g.get)(CE_USER_DATA_URL,(e=>{CE2.data=CE2.Native.JSON.parse(e.responseText),CE2.userDataToJs&&CE2.userDataToJs(CE2.data),Tt((()=>{CE2.benchmark.stop("navigation|crazyegg|common|userdatamain"),kt()}))})))};CE2.resetTracker=function(){CE2.testID=CE2.testVersion=CE2.scriptCheckMatchingSnapshots=CE2.scriptCheckSelectedSnapshot=CE2.scriptCheckSelectedSnapshots=null,CE2.tracker&&(CE2.tracker.cleanup(),delete CE2.tracker,(0,o.Yz)("[Tracker] Reset"))};const Rt=function(e,t=null){e&&(t&&(e.fingerprint=t),CE2.tracker&&CE2.tracker.notifyError(e))};class Dt{constructor(e){this.callback=e||(()=>{}),this.onMouseMove=this.mouseMove.bind(this),this.onScroll=this.scroll.bind(this),this.exited=!1;const t=CE2.clock.getDeviceType();t===fe.p.typeMap.desktop?(0,r.ch)(CE2.w,"mousemove",this.onMouseMove):t===fe.p.typeMap.phone&&(this.prevScroll=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop,(0,r.ch)(CE2.w,"scroll",this.onScroll))}mouseMove(e){e.clientY<=20&&this.onExit(),this.hoveredElement!==e.target&&clearTimeout(this.hoverTimout),this.hoveredElement=e.target;const t=e.target.closest("a");if(t&&t.href){const e=new URL(t.href,CE2.d.baseURI),i=(0,r.R2)().substr(1);new RegExp(`${i}$`,"i").test(e.hostname)||(this.hoverTimout=setTimeout((()=>{this.onExit()}),100))}}scroll(){const e=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop;this.prevScroll-e>100&&this.onExit(),this.prevScroll=e}onExit(){this.destroy(),this.exited||(this.exited=!0,this.callback())}destroy(){(0,r.pQ)(CE2.w,"mousemove",this.onMouseMove),(0,r.pQ)(CE2.w,"scroll",this.onScroll),clearTimeout(this.hoverTimout)}}function At(e){if("function"==typeof e)try{e()}catch(e){(0,o.Yz)("CE_API error:"),(0,Ee.A)(e)}}function Ot(e){let t;for(CE2.Native.Array.isArray(e)||(e=[]),e.push=function(e){At(e)};t=e.shift();)At(t);return e}var $t=i(1807),xt=i(2080);function Ut(e){CE2.tracker.addToCart(e)}function Pt(){CE2.tracker.startCheckout()}function Vt(e){CE2.tracker.checkoutCompleted(e)}const Mt=CE2.Native.URL,{JSON:Lt}=CE2.Native},7022:()=>{!function(e){var t=e.CE2BH={};function i(){return t.extends=i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(n[i]=e[i]);return n}}("undefined"==typeof window?self:window)},401:(e,t,i)=>{"use strict";i.d(t,{F:()=>n});var s=i(8922);const n=i.n(s)()},2759:(e,t,i)=>{"use strict";i.d(t,{O:()=>r});const s=function(){let e;const t=void 0!==i.g&&(i.g.crypto||i.g.msCrypto);if(t&&t.getRandomValues){const i=new Uint8Array(16);e=function(){return t.getRandomValues(i),i}}if(!e){const t=new CE2.Native.Array(16);e=function(){for(let e,i=0;i<16;i++)3&i||(e=4294967296*Math.random()),t[i]=e>>>((3&i)<<3)&255;return t}}return e}(),n=function(){const e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).substr(1);return function(t,i){let s=i||0;const n=e;return n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]}}(),r=(o=s(),a=[1|o[0],o[1],o[2],o[3],o[4],o[5]],c=16383&(o[6]<<8|o[7]),d=0,l=0,function(e,t,i){var s=t&&i||0,r=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:c,u=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:l+1,g=u-d+(h-l)/1e4;if(g<0&&void 0===e.clockseq&&(o=o+1&16383),(g<0||u>d)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=u,l=h,c=o;var E=(1e4*(268435455&(u+=122192928e5))+h)%4294967296;r[s++]=E>>>24&255,r[s++]=E>>>16&255,r[s++]=E>>>8&255,r[s++]=255&E;var p=u/4294967296*1e4&268435455;r[s++]=p>>>8&255,r[s++]=255&p,r[s++]=p>>>24&15|16,r[s++]=p>>>16&255,r[s++]=o>>>8|128,r[s++]=255&o;for(var C=e.node||a,f=0;f<6;++f)r[s+f]=C[f];return t||n(r)});var o,a,c,d,l},2484:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>o,Fi:()=>a,UE:()=>d,bU:()=>c});var s=i(3201),n=i(3380);class r extends s.v{}const o=new r,a=()=>{const e=document.location.hash.match(/#ce-abtest-(.+)/);if(!e||!e[1])return;const t=e[1].split("."),[i,s,n]=t;return[i,s,n,t.slice(3).join(".")||null]},c=()=>!!a(),d=()=>{CE2.loadScript(CE2.data.transformations_script_url,(()=>{(0,n.Yz)("[Flows] [Preview] transformations.js chunk is loaded. Run AB test preview"),CE2.initAbTestPreview()}))}},8e3:(e,t,i)=>{"use strict";i.d(t,{i:()=>n});var s=i(2886);const n={CK:"_ce.s",LAST_COOKIE_WRITE_KEY:"lcw",LAST_COOKIE_WRITE_THRESHOLD:3e5,saveTimeout:null,canSave:"undefined"==typeof CE_NO_COOKIES||!CE_NO_COOKIES,expiresIn:"number"==typeof CE_COOKIE_EXPIRE_DAYS?CE_COOKIE_EXPIRE_DAYS:365,load(){let e,t,i=CE2.getCookie(this.CK);const s={};if(!i)return s;for(i=i.replace(/\\~/g,"\0").split("~"),e=0;t=i[e];e+=2)s[t.replace(/\x00/g,"~")]=i[e+1].replace(/\x00/g,"~");return s},getCookieRawValue(e){const t=[];return(0,s.__)(e,((e,i)=>{t.push(i.replace("~","\\~")),t.push(e.replace("~","\\~"))})),t.push(`${this.LAST_COOKIE_WRITE_KEY}~${+new Date}`),t.join("~")},save(e){this.canSave&&(0,s.o)(this.CK,this.getCookieRawValue(e),{expiresInDays:this.expiresIn})},get(e){return this.load()[e]},set(e,t){const i=this.load(),s=`${t}`;let n=!1;const r=parseInt(i[this.LAST_COOKIE_WRITE_KEY],10);r&&+new Date-r>this.LAST_COOKIE_WRITE_THRESHOLD&&(n=!0),(i[e]!==s||n)&&(i[e]=s,this.save(i))},del(e){const t=this.load();delete t[e],this.save(t)}}},3380:(e,t,i)=>{"use strict";i.d(t,{$J:()=>d,$Q:()=>r,Yz:()=>a,aE:()=>l,aQ:()=>o,cC:()=>c,dK:()=>n});const s=function(e){if(!CE2.data||!CE2.data.features)return!1;for(let t=0,i=CE2.data.features;t{const e=CE2.data&&CE2.data.dkey;return!!(e&&CE2.w&&CE2.w.location.href.indexOf(`ced=${e}`)>-1)||(!!s("remote-logs")||"undefined"!=typeof CE_DEBUG&&CE_DEBUG)},r=()=>"undefined"!=typeof CE_DEBUG&&CE_DEBUG>=2,o=(e,t)=>{CE2.n.sendBeacon&&CE2.n.sendBeacon(CE2.data.v11_tracking_dest.replace("v11","debug"),CE2.Native.JSON.stringify({siteId:CE2.site?.id,userId:CE2.data.uid,type:e,data:CE2BH.extends({version:CE2.VERSION},t)}))},a=(e,t)=>{if(CE2.state.logHistoryEnabled&&CE2.state.logHistory.push(e),s("remote-logs")){const i=t?CE2.Native.JSON.stringify(t).substring(0,120):"";o("logs",{visitorId:CE2.visitorTracker?.getId(),visitId:CE2.getVisitId&&CE2.getVisitId(),sessionId:CE2.getSessionId&&CE2.getSessionId(),ts:+new Date,msg:e,obj:i})}if(!n())return!1;let i;i="string"==typeof e?`CE: ${e}`:e;const r=[i];if(t&&r.push(t),"undefined"!=typeof window){const{console:e}=CE2.Native;e&&e.log&&e.log(...r.map(CE2.Native.JSON.stringify))}},c=(e,t)=>{if(!r())return!1;a(e,t)},d=function(){return void 0!==CE2.w.CE_BENCHMARK&&CE2.w.CE_BENCHMARK||(CE2&&CE2.w&&CE2.w.location.href.indexOf("ceb=#{data[:dkey]}"))>-1},l={autoReport:()=>void 0!==CE2.w.CE_BENCHMARK&&CE2.w.CE_BENCHMARK||window.location.href.indexOf("ceb=#{data[:dkey]}")>-1,start:(e,t=[])=>{if(CE2.benchmark.stopped)return;CE2.benchmarks.find((t=>t.name===e))||CE2.benchmarks.push({name:e,tags:t,startedAt:new Date})},stop:e=>{if(CE2.benchmark.stopped)return;const t=CE2.benchmarks.find((t=>t.name===e));t&&!t.diff&&(t.diff=+new Date-+t.startedAt)},report:()=>{const e=["CE: [Benchmark]",""];for(let t=0,i=CE2.benchmarks;t{"use strict";i.d(t,{D:()=>n,p:()=>s});const s={types:{desktop:{name:"desktop",fullName:"Desktop",code:1,display:{width:1280,height:800},viewport:{width:1280,height:800},userAgent:null},phone:{name:"phone",fullName:"Phone",code:2,display:{width:320,height:480},viewport:{width:980,height:1091},userAgent:"Mozilla/5.0 (Android 7.0; Mobile; rv:60.0) Gecko/60.0 Firefox/60.0"},tablet:{name:"tablet",fullName:"Tablet",code:3,display:{width:800,height:1280},viewport:{width:980,height:1568},userAgent:"Mozilla/5.0 (Android 7.0; Tablet; rv:60.0) Gecko/60.0 Firefox/60.0"}},codeMap:{1:"desktop",2:"phone",3:"tablet"},typeMap:{desktop:1,phone:2,tablet:3}},n=function(e){return(CE2.Native.Array.isArray(e)?e:[e]).map((e=>s.typeMap[e])).includes(CE2.clock.getDeviceType())}},7866:(e,t,i)=>{"use strict";i.d(t,{M4:()=>n,T:()=>s,vU:()=>o});const s=function(){const e=navigator.userAgent;CE2.opera=CE2.ie=CE2.chrome=CE2.safari=CE2.firefox=!1;let t="unknown";return CE2.w&&CE2.w.opera&&"function"==typeof CE2.w.opera.version?(t="opera",CE2.opera=!0,CE2.operaVersion=parseInt(CE2.w.opera.version(),10)):/\bMSIE\b/.test(e)?(t="ie",CE2.ie=!0,CE2.ieVersion=parseInt(/MSIE (\d+)\.\d+/.exec(navigator.userAgent)[1],10),CE2.ieQuirksMode="BackCompat"==document.compatMode):/\b(iPhone|iP[ao]d)\b/.test(e)?(t="iphone",CE2.iphone=!0,CE2.webkit=!0,/AppleWebKit/.test(navigator.appVersion)&&(t="safari",CE2.safari=!0)):/\bChrome\b/.test(e)?(t="chrome",CE2.chrome=!0,CE2.webkit=!0):/AppleWebKit/.test(navigator.appVersion)?(t="safari",CE2.safari=!0,CE2.webkit=!0):/Mozilla/i.test(e)&&!/compatible|webkit/i.test(e)&&(t="firefox",CE2.firefox=!0),CE2.webkit&&(CE2.webkitVersion=parseInt(/AppleWebKit\/(\d+)/.exec(e)[1],10)),t}(),n=function(e,t){const{crypto:i}=CE2.w,s="function"==typeof CE2.w.btoa&&CE2.w.btoa;let n,r,o,a="";if(e=e||20,i&&i.getRandomValues){const t=new Uint8Array(e);i.getRandomValues(t),n=CE2.Native.Array.from(t)}else for(n=new CE2.Native.Array(e),r=0;rString.fromCharCode(e))).join(""),s(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"");for(r=0;r{"use strict";i.d(t,{v:()=>n});const s=()=>({events:{},emit(e,...t){const i=this.events[e]||[];for(let e=0,{length:s}=i;e{this.events[e]=this.events[e]?.filter((e=>t!==e))}},exists(e,t){return this.events[e]&&1===this.events[e].filter((e=>e===t)).length}});class n{constructor(){this.emitter=s()}on(e,t,i){if(!i||!this.emitter.exists(e,t))return this.emitter.on(e,t)}once(e,t,i=!1){if(i&&this.emitter.exists(e,t))return;const s=this.on(e,(async(...e)=>(s(),t(...e))))}emit(...e){return this.emitter.emit(...e)}}},4808:(e,t,i)=>{"use strict";i.d(t,{A:()=>o,o:()=>r});var s=i(3380),n=i(1509);const r=function(){const e={};return e.sendError=function(e){try{if(CE2.data&&CE2.data.error_tracking){const t={url:window.location.href,error:e.type,error_name:e.name,filename:e.filename};e.message&&(t.error_description=e.message.toString()),e.error&&e.error.stack&&(t.stack=e.error.stack.toString()),(0,n.send)(`${CE2.data.error_tracking_dest}?u=${encodeURIComponent(CE2.data.uid)}`,CE2.Native.JSON.stringify(t),{sendBeacon:!0})}}catch(e){}},e.listen=function(){if(!CE2.data.error_tracking_dest||!CE2.data||!CE2.data.uid)return;const e=CE2.data.error_tracking_script_url;window.addEventListener("error",(t=>{try{if((0,s.Yz)(`Error Tacking: Error Event '${t}'`),!t.filename)return;(0,s.Yz)(`Error Tacking: Error filename '${t.filename}'`),t.filename.includes(e)&&this.sendError(t)}catch(e){}}))},e}(),o=e=>{(e instanceof Error||e instanceof TypeError)&&((0,s.Yz)(e),r&&r.sendError&&r.sendError(e))}},1807:(e,t,i)=>{"use strict";i.d(t,{D8:()=>o,Qj:()=>a,W2:()=>r,lD:()=>c});var s=i(8e3);const n="flvl",r=(e,t)=>{const i=s.i.get(n)||"";i.includes(e)||s.i.set(n,`${i},${e}:${t}`)},o=()=>{s.i.del(n)},a=()=>(s.i.get(n)||"").split(",").flatMap((e=>{const[t,i]=e.split(":");return t&&CE2.data.flows?.[t]?{id:t,name:CE2.data.flows?.[t]?.name,variantId:i}:[]})),c=()=>{const e=a();return e.length?e[e.length-1]:null}},7777:(e,t,i)=>{"use strict";i.d(t,{f:()=>n});const s={};!function(e){function t(){if(!(this instanceof t))return new t;this.boundary=`------RWWorkerFormDataBoundary${Math.random().toString(36)}`;const e=this.data=[];this.__append=function(t){let i,s=0;if("string"==typeof t)for(i=t.length;s{"use strict";i.d(t,{A:()=>r});var s=i(3201);class n extends s.v{}const r=new n},1509:(e,t,i)=>{"use strict";i.r(t),i.d(t,{descriptiveEventType:()=>u,get:()=>h,send:()=>g,sendCounter:()=>p,sendEvents:()=>C,sendForm:()=>E});var s=i(7777),n=i(3380),r=i(2886),o=i(2559),a=i(4451);"undefined"==typeof CE2&&(self.CE2={}),void 0===CE2.state&&(CE2.state={});const{state:c}=CE2;let d,l;c.testModeRequests=[];const u=e=>{if(!CE2.eventTypes)return`event_type=${e}`;if(!d){d={},l=null;for(let e=0,t=Object.keys(CE2.eventTypes);el.length)&&(l=i)}}let t=d[e];const i=l.length-t.length;for(let e=0;e{const s=CE2.getNativeXMLHttpRequest();s.onreadystatechange=function(){4==s.readyState&&t(s)},s.open("GET",e,!0),i&&(s.responseType=i),s.send()},g=(0,a.fY)((e=>e.includes("clock")),((e,t,i={})=>{if((0,r.ou)())return c.testModeRequests.push({url:e,data:t,options:i}),void(i.callback&&i.callback({responseText:""}));const o=i.sendBeacon&&CE2.n&&CE2.n.sendBeacon;let a=i.contentType||"text/plain";if(o&&CE2.n&&CE2.n.sendBeacon)CE2.n.sendBeacon(e,t),i.callback&&i.callback();else{if("undefined"==typeof XMLHttpRequest)return void(0,n.Yz)("XMLHttpRequest not supported");i.retries||(i.retries=0);const r=CE2.getNativeXMLHttpRequest();r.onreadystatechange=function(){if(i.callback&&4==r.readyState){if((!r.status||429===r.status||r.status>=500&&r.status<600)&&i.retry&&i.retries{g(e,t,i)}),1e3);i.callback(r)}},r.open(i.method||"POST",e),t instanceof s.f&&(t.__endedMultipart||t.__append(`--${t.boundary}--\r\n`),t.__endedMultipart=!0,a=`multipart/form-data; boundary=${t.boundary}`,t=new Uint8Array(t.data)),r.setRequestHeader("Content-type",a),r.send(t)}})),E=(e,t,i={})=>{g(e,(e=>{let t="";const i=encodeURIComponent;return(0,r.__)(e,((e,s)=>{null!=e&&(0,o.b)(`${e}`)&&(t.length&&(t+="&"),t+=`${i(s)}=${i(e)}`)})),t})(t),CE2BH.extends(i,{contentType:"application/x-www-form-urlencoded"}))},p=(e,t)=>{if(!e||!t)return;const i={metric:e,id:t},s=CE2.data.counters_dest;g(s,CE2.Native.JSON.stringify(i),{contentType:"application/json"})},C=(e,t)=>{try{const i=[];i.push(`u=${encodeURIComponent(e.userId)}`),i.push(`st=${encodeURIComponent(e.siteId)}`),e.snapshotIds&&i.push(`s=${encodeURIComponent(e.snapshotIds.join(","))}`),e.flow&&i.push(`f=${encodeURIComponent(e.flow)}`),e.sessionId&&i.push(`ss=${encodeURIComponent(e.sessionId)}`),e.pageFingerprintMd5&&i.push(`p=${encodeURIComponent(e.pageFingerprintMd5)}`),e.goalId&&i.push(`g=${encodeURIComponent(e.goalId)}`),e.abTestId&&i.push(`ab=${encodeURIComponent(e.abTestId)}`),e.t&&i.push(`t=${e.t}`),CE2.data.tracking_key&&i.push(`tk=${encodeURIComponent(CE2.data.tracking_key)}`);const s=[];for(let i=0;i{"use strict";i.d(t,{MH:()=>ne,mF:()=>oe,$K:()=>ie});const s="all",n="any",r="greater_than",o="less_than",a="equals",c="at_least",d="at_most",l="and",u={matchUrl:"matchUrl",matcher:"matcher",debug:"debug",browserAPI:"browserAPI"},h="new_or_returning",g="referrer",E="landing_page",p="visited_page",C="browser",f="device",m="country",v="os",w="screen_width",_="screen_height",y="pages_viewed",S="duration",I="var1",T="var2",k="var3",b="var4",N="var5",R="profile",D="tags",A="day_of_week",O="utm_source",$="utm_medium",x="utm_campaign",U="utm_term",P="utm_content",V="goal_code",M="click",L="form_submission",B="pixel_event",H={desktop:"desktop",tablet:"tablet",phone:"phone"},z="minutes";const Y=[M,L,B];class G{constructor({state:e,providers:t}){this.providers=t,this.state={},this.reset(e),this.matcher=t.matcher(this.state,t)}reset(e={}){CE2BH.extends(this.state,CE2BH.extends({},{[h]:null,[g]:null,[E]:null,[p]:null,[C]:null,[f]:null,[m]:null,[w]:0,[_]:0,[y]:0,[S]:0,[I]:null,[T]:null,[k]:null,[b]:null,[N]:null,[R]:{},[D]:[],[A]:(new Date).getDay(),[O]:null,[$]:null,[x]:null,[U]:null,[P]:null,[V]:null,[M]:[],[L]:[],[B]:[]},G.cleanup(e))),this.debug("reset state",this.state)}static cleanup(e){const t={};if(!e)return t;for(let i=0,s=Object.keys(e);i{e.conditions.forEach(((o,a)=>{if(o.criteria!==t)return!1;const c=function(e,t){const i=e?t.find((t=>t.sync_selectors||t[`selector_for_${e}`])):null;if(!i)return null;if(t.sync_selectors)return Object.values(H).map((e=>t[`selector_for_${e}`])).find((e=>!!e))||null;return i[`selector_for_${e}`]||null}(this.state[f],o.value);if(!c)return!1;const d=i.target||i.srcElement;if(s.matchesSelector(d,c,!0)){if(!function(e,t,i){const s=e.target||e.srcElement;if(t.criteria!==L||"FORM"!==e.type)return!0;for(let e=0,n=t.value;e{e.conditions.forEach(((t,s)=>{t.value.find((e=>e.api===i.api&&(("string"!=typeof e.id||e.id.replace(/^(G|AW)-/,"")===i.id)&&("string"!=typeof e.event||e.event.toLowerCase()===i.type.toLowerCase()))))&&(this.state[t.criteria][s]=!0,r=this.match(e),this.state[t.criteria][s]=!1)}))}};return a[t]?.call(this),r}update(e){for(let t=0,i=Object.entries(e);t{const n=this.evaluate(e,t);return n&&i.push(e),n||s.push(e),n}));return l===t?n.every((e=>!0===e)):n.some((e=>!0===e))}evaluate(e,t){if(e.operator&&Array.isArray(e.conditions))return this.isMatched(e.conditions,e.operator);if(!e.value)return!1;const i=this.providers[u.matchUrl];switch(e.criteria){case h:case C:case f:case m:case v:case A:case D:case I:case T:case k:case b:case N:case O:case $:case x:case U:case P:case V:const l=Array.isArray(e.value)?e.value:[e.value];if(e.comparison===s){const t=Array.isArray(this.state[e.criteria])?this.state[e.criteria]:[this.state[e.criteria]];return JSON.stringify(l.sort())===JSON.stringify(t.sort())}const u=l.includes(this.state[e.criteria]);return e.comparison===n?!0===u:!1===u;case S:const{count:R,unit:H}=e.value;let Y=R;return H===z&&(Y=60*R),e.comparison===c?Y<=this.state[e.criteria]:e.comparison===d?Y>=this.state[e.criteria]:e.comparison===r?Ythis.state[e.criteria];case w:case _:case y:return e.comparison===a?e.value===this.state[e.criteria]:e.comparison===r?e.valuethis.state[e.criteria];case p:case E:case g:const G=e.value.map((t=>i(t,this.state[e.criteria])));return e.comparison===n?G.includes(!0):G.every((e=>!1===e));case M:case L:case B:return!!this.state[e.criteria]?.length&&!0===this.state[e.criteria][t]}}debug(...e){this.providers.debug(...e)}}function W(e){const t=e.filter((e=>"object"!=typeof e)),i=e.filter((e=>"object"==typeof e));console.log("CE: [SegmentTracker]",t.join(" "),...i,"\n")}function K(){return{[u.debug]:(...e)=>{window.CE_DEBUG&&W(e)},[u.matchUrl]:()=>!1,[u.matcher]:(...e)=>new j(...e),[u.browserAPI]:{matchesSelector(e,t,i){let s=t;return i&&(s+=`,${t} *`),e.matches(s)}}}}var F=i(2886),J=i(6149),q=i(3380);const Q="segment",X="segment-no-op",Z="~";let ee;function te(){const{clock:e}=CE2,{visitorTracker:t}=CE2,i=new URL(window.location.href).searchParams,{landingUrl:s,userData:n,utm:r}=t.getFirstVisitData()||{},o=window.innerWidth||window.screen.availWidth,a=window.innerHeight||window.screen.availHeight;return{device:{1:"desktop",2:"phone",3:"tablet"}[e.getDeviceType()],visited_page:window.location.href,referrer:document.referrer,new_or_returning:t.returningState().state,landing_page:s,screen_width:o,screen_height:a,pages_viewed:0,duration:0,var1:n[0],var2:n[1],var3:n[2],var4:n[3],var5:n[4],profile:{},tags:CE2.sessionTags||[],day_of_week:(new Date).getDay(),utm_source:r?.utm_source,utm_medium:r?.utm_medium,utm_campaign:r.utm_campaign,utm_term:r?.utm_term,utm_content:r?.utm_content,goal_code:i.get("code"),browser:e.getBrowser(),country:e.getCountry()}}function ie(){ee&&ee.reset(te())}function se(){return function({state:e,segments:t,providers:i}){return new G({state:e,segments:t,providers:CE2BH.extends({},K(),i)})}({state:te(),providers:{matchUrl({url:e,flags:t},i){let s=t?t.join():"";return e[0]===Z?(e=e.substring(0),s+="r"):e.includes("*")&&(s+="*"),(0,J.$)(e.toLowerCase(),i,s)},debug(){}}})}function ne(){return ee||(ee=se())}function re({resourceType:e,resourceId:t,eventName:i,event:s}){if(!e||!t)return!1;const n=(CE2.data.segments||[]).filter((i=>(i.resources||[]).find((i=>i.resource_type===e&&String(i.resource_id)===String(t))))),r=[];for(let e=0;e0}function oe({resourceType:e,resourceId:t,eventName:i,event:s},n){if(ne().update({visited_page:window.location.href}),(0,F.jI)(Q))return re({resourceType:e,resourceId:t,eventName:i,event:s});if((0,F.jI)(X)){const r=re({resourceType:e,resourceId:t,eventName:i,event:s}),o=n();return r!==o&&(0,q.aQ)(X,{url:window.location.href,stateUrl:ne().state.visited_page,resourceType:e,resourceId:t,eventName:i,segmentMatched:`${r}`}),o}return n()}},2559:(e,t,i)=>{"use strict";i.d(t,{b:()=>n,re:()=>s});const s=function(){const e="[\\s\\u00a0\\u2028\\u2029]+";return{whitespace:new RegExp(e,"g"),strip:new RegExp(`^${e}|${e}$`,"g"),href:/\bhref="(.*?)"/i,ipHost:/^([\d\.]+|\[[a-f\d:]+\])$/i}}(),n=(e,t)=>{const i=e.replace(s.strip,"");return t?i.replace(s.whitespace," "):i}},8773:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});var s=i(2886);const n=function(e){if(this.src=e,this.protocol=this.host=this.port=this.path=this.qs=this.hash=this.query=null,e){const t=typeof e;"string"==t?this.initWithString(e):"object"==t&&this.initWithURI(e)}};n.pattern=/^\s*([\S]+?:\/\/)?([^\s\/]+?@)?([^:\/\?\#]+)?(\:\d+)?(\/?[^#\?\s]*)?([\?][^#\s]*)?([#]\S+)?/i,n.prototype={initWithString(e){const t=n.pattern.exec(e),[i,r,o,a,c,d,l,u]=t;var h;r||"/"==e.charAt(0)||a&&!("string"!=typeof(h=a)||-1===h.indexOf(".")&&"localhost"!==h||(h=new URL(`http://${h}`).hostname,!/^[a-zA-Z0-9-.]{1,253}\.?$/g.test(h)||(h.endsWith(".")&&(h=h.slice(0,h.length-1)),h.length>253||!h.split(".").every((e=>/^([a-zA-Z0-9-]+)$/g.test(e)&&e.length<64&&!e.startsWith("-")&&!e.endsWith("-"))))))?(r&&(this.protocol=r.substr(0,r.indexOf(":"))),this.host=a||null,c&&(this.port=Number(c.substr(1))),d?this.path=(0,s.x4)(d):this.host&&(this.path="/")):this.path=(0,s.x4)((a||"")+(d||"")),l&&(this.qs=(0,s.q5)(l.substr(1)),this.query=l.substr(1)),u&&(this.hash=(0,s.x4)(u.substr(1)))},initWithURI(e){(0,s.__)(e,(function(e,t){this[t]=e}),this)},isAbsolute(){return this.isURL()||this.path&&"/"==this.path.charAt(0)},isURL(){return this.protocol&&this.host},getDomain(){return this.host&&this.host.replace(/^(www|m)\./,"")},getHost(){return this.host+(this.port?`:${this.port}`:"")},getOrigin(){return`${this.protocol}://${this.getHost()}`},getFullUrl(){const e=this.query?`?${this.query}`:"";return`${this.getOrigin()}${this.path}${e}`},join(e){const t=new n(this);let{path:i}=this;return"string"==typeof e&&(e=new n(e)),e.isURL()?new n(e):(e.isAbsolute()?i=e.path:i?(i=i.split("/"),i.pop(),i=e.path?i.concat(e.path.split("/")):i,i=i.join("/")):i=this.isURL()?`/${e.path}`:e.path,t.path=i,t.qs=e.qs,t.hash=e.hash,t)},normalize(){if(!this.path)return;let e;CE2.ie&&CE2.ieVersion<9?(e=[],"/"==this.path.charAt(0)&&e.push(""),e=e.concat(this.path.split(/\/+/g)),"/"==this.path.charAt(this.path.length-1)&&e.push("")):e=this.path.split(/\/+/g);let t,i=0;do{if(t=e.length-1,".."==e[i+1])""==e[i]&&0==i?e.splice(i+1,1):(e.splice(i,2),i-=1);else if("."==e[i]){if(0==t)break;e.splice(i,1)}else i++}while(i<=t);this.path=e.join("/")},simplify(e){let t;const i=[];if(t="file"==this.protocol?this:CE2.ie?e?e.join(this):this:(e=e||new n(CE2.d.baseURI)).join(this),t.normalize(),t.host&&i.push(t.host.replace(/^(www|m)\./,"")),null!=t.port&&i.push(`:${t.port}`),"/"==t.path||/^\/(default|home|index)\b[^\/]*$/i.test(t.path)?(t.qs||t.hash)&&i.push("/"):i.push(t.path),t.qs){const e=[];(0,s.__)(t.qs,((t,i)=>{t&&!/(^sess|^sid$|^phpsessid$|^jsessionid$|^__VIEWSTATE$)/i.test(i)&&e.push(`${encodeURIComponent(i)}=${encodeURIComponent(t)}`)})),e.length&&i.push(`?${e.join("&")}`)}return t.hash&&i.push(`#${t.hash}`),i.join("")},sameOrigin(e){return!!e&&("string"==typeof e&&(e=new n(e)),null==e.host||e.host==this.host&&e.port==this.port&&e.protocol==this.protocol)}}},6149:(e,t,i)=>{"use strict";i.d(t,{$:()=>a,e:()=>c});var s=i(2886),n=i(8773),r=i(4808);const o=function(e,t,i=!1){e&&e(t,i)},a=function(e,t,i,a,c,d){const{stringify:l}=CE2.Native.JSON,u=/(default|index)($|\..*)/i;let h,g,E,p,C,f,m,v=!1;if(""===e&&""===t)return!0;if(!e||!t)return!1;if(a&&a.indexOf(CE2.clock.getDeviceType())<0)return o(d,`device=${CE2.clock.getDeviceType()} allowed=${l(a)}`,m),!1;if(/n/.test(i=i||""))return m=e.trim()===t.trim(),o(d,`name=${t} allowed=${e}`,m),m;if(/go/.test(i)){const i=e.split(".");return m=t&&t[i[1]]==i[2],o(d,`googleOptimize=${l(t)} allowed=${l(e)}`,m),m}if(/\*/.test(i))try{let i;const s=/^https?:\/\/([^\/]+)\//.exec(e);if(s&&s[1]&&!s[1].includes("*")){const e=new CE2.Native.URL(t);e.hostname.startsWith("www.")?(e.hostname=e.hostname.replace(/^www\./,""),i=e.href):(e.hostname=`www.${e.hostname}`,i=e.href)}let n=e.replace(/[.+^$?{}()|[\]\\]/g,"\\$&");return n=new RegExp(n.replace(/\*/g,"(.*?)"),"i"),m=n.test(t)||i&&n.test(i),o(d,`url=${t} allowedwildcard=${e}`,m),m}catch(i){return(0,r.A)(i),o(d,`url=${t} allowedwildcard=${e}`),!1}if(/[re]/.test(i))try{return m=RegExp(e,"i").test(t),m||(m=RegExp(e,"i").test(decodeURI(t))),o(d,`url=${t} allowedregex=${e}`,m),m}catch(i){return(0,r.A)(i),o(d,`url=${t} allowedregex=${e}`,i),!1}e=new n.j(e&&e.toLowerCase?e.toLowerCase():e);const w=new n.j(t.toLowerCase());if(/h/.test(i)&&e.protocol!=w.protocol)return o(d,`protocol=${w.protocol} allowed=${e.protocol}`),!1;const{host:_}=w,y=_.replace(/^(www|m)\./,""),S=e.host,I=e.ihost;if(/w/.test(i)&&_!=S&&_!=I)return o(d,`host=${_} allowed=${I||S}`),!1;const T=S.replace(/^(www|m)\./,""),k=I&&I.replace(/^(www|m)\./,"");if(y!=T&&y!=k)return o(d,`host=${_} allowed=${k||T}`),!1;g=e.path?e.path:"/";const{path:b}=w;if(g!=b){if(/\//.test(i))return o(d,`path=${b} allowed=${g}`),!1;for(E=g.split("/"),h=b.split("/"),C=0,f=Math.max(E.length,h.length);C{if(N[t]!==e)return v=!0,!1})),v)return o(d,`querystring=${l(N)} allowed=${l(R)}`),!1;if(p&&((0,s.__)(N,((e,t)=>{if(e!=R[t])return v=!0})),v))return o(d,`querystring=${l(N)} allowed=strict|${l(R)}`),!1;const D=e.hash||"",A=w.hash||"";return p=/#/.test(i),(p||D)&&D!=A?(o(d,`hash=${A} allowed=${D}`),!1):(o(d,`url=${t}`,!0),!0)},c=e=>{let t,i;if(e&&e.length)for(t=0;i=e[t++];)if(a(i.u,CE2.w.location.href,i.o))return!0;return!1}},2886:(e,t,i)=>{"use strict";i.d(t,{Ap:()=>l,B5:()=>A,DQ:()=>b,Ep:()=>T,GE:()=>O,GO:()=>z,I3:()=>N,IS:()=>P,Jl:()=>r.O,KT:()=>g,LB:()=>m,OR:()=>v,Qb:()=>R,R2:()=>_,Rc:()=>M,Ri:()=>w,UO:()=>D,Xe:()=>a,Yj:()=>S,_3:()=>f,__:()=>h,ch:()=>g,ex:()=>U,hZ:()=>p,ib:()=>x,jI:()=>Y,jM:()=>C,ne:()=>B,o:()=>y,oI:()=>H,ou:()=>c,pQ:()=>E,q5:()=>u,uh:()=>I,x4:()=>d});var s=i(2559),n=i(3380),r=i(2759),o=i(4451);const a=e=>{if(!e)return;CE2.state.ignoredElements.push(e);const{tracker:t}=CE2;t&&t.ignoredElements.push(e)},c=function(){return"undefined"!=typeof CE_TEST_MODE&&CE_TEST_MODE},d=e=>{try{return decodeURIComponent(e)}catch(t){return CE2.w.unescape(e)}},l=e=>{if(CE2.Native.Array.isArray(e))for(let t=0;t{if(null==e||/^\s*$/.test(e))return null;const i={},s=e.replace(/\+/g," ").split(t||"&");let n,r,o=null,a=null,c=null;const l=Object.getOwnPropertyNames(Object.prototype);for(n=0,r=s.length;n{if(!e)return;let s;if("number"==typeof e.length&&"function"==typeof e.concat)for(let n=0,r=e.length;n{e.addEventListener(t,i,!0)},E=(e,t,i)=>{e.removeEventListener(t,i,!0)},p=(e,t)=>{(e=parseInt(e,10))>=1&&e<=5&&(CE2.state.userData[e]=String(t));const{tracker:i}=CE2;i&&i.sendCustomUserData&&i.sendCustomUserData()},C=(...e)=>{const{tracker:t}=CE2;if(t)return t.click(...e)},f=e=>null==e.r||(!1!==e.r&&!0!==e.r&&(Math.random()>=1/e.r?((0,n.Yz)(`Snapshot ${e.id} not selected due to snapshot sampling: ${e.r}`),e.r=!1):e.r=!0),e.r),m=(e,t,i,s)=>{if(!0===CE2.data.dnt)return!1;if(s&&void 0!==e.external)try{if(!0===e.external.InPrivateFilteringEnabled())return!0}catch(e){}const n=t.doNotTrack||i.doNotTrack||i.msDoNotTrack||e.doNotTrack;return"1"==n||"yes"==n},v=function(){try{return u(o.Ew.read(),/;\s*/g)||{}}catch(e){return{}}},w=function(e){return v()[e]},_=function(){const{w:e}=CE2;if(!CE2.state._tlDomain){const t=CE2.w.location.hostname;if(s.re.ipHost.test(t)||!/\./.test(t))CE2.state._tlDomain=t;else if(e.CE_COOKIE_DOMAIN&&new RegExp(`(^|\\.)${e.CE_COOKIE_DOMAIN.replace(/\./g,"\\.")}$`,"i").test(t))CE2.state._tlDomain=`.${e.CE_COOKIE_DOMAIN}`;else if(CE2.site?.cookieDomain)CE2.state._tlDomain=`.${CE2.site.cookieDomain}`;else{let e;const i=t.split(".");for(e=i.length-1;e>=0;e--){const t=`.${i.slice(e).join(".")}`;if(I("_ce.gtld",t)){CE2.state._tlDomain=t;break}}}}return CE2.state._tlDomain},y=function(e,t,i){i||(i={});const s=encodeURIComponent,n=i.path||"/",r=i.domain||_();let a=null;i.expires?a=i.expires:i.expiresIn?a=new Date((new Date).getTime()+1e3*i.expiresIn):i.expiresInDays&&(a=new Date((new Date).getTime()+86400*i.expiresInDays*1e3)),null==t&&(a=new Date(0),t="");const c=[`${s(e)}=${s(t)}`];c.push(`path=${n}`),CE2.w.parent!==CE2.w&&"https:"===CE2.w.location.protocol?(c.push("SameSite=None"),c.push("Secure")):(c.push("SameSite=Strict"),CE2.data&&CE2.data.use_secure_cookies&&c.push("Secure")),r&&c.push(`domain=${r}`),a&&c.push(`expires=${a.toUTCString()}`),o.Ew.write(c.join(";"),{key:e,value:`${s(e)}=${s(t)};`})},S=function(e,t){y(e,null,t)},I=(e,t)=>{y(e,"1",{domain:t});const i=o.Ew.read();return!!(i&&i.indexOf&&i.indexOf(e)>-1)&&(S(e,{domain:t}),!0)},T=()=>new CE2.URL((()=>{let{referrer:e}=CE2.d;try{!e&&CE2.d.location.ancestorOrigins&&([e]=CE2.d.location.ancestorOrigins)}catch(e){(0,n.Yz)("Referer error",e)}return e})()).getDomain(),k=e=>{const t=CE2.d.createElement("a");return t.href=`http://${e}/`,t.hostname},b=e=>{let t,i;for(i=0;t=e[i++];)if(n=k(t.name),r=CE2.w.location.hostname,s.re.ipHost.test(n)?n===r:r.toLowerCase().endsWith(n.toLowerCase())||r.toLowerCase().endsWith(`.${n.toLowerCase}`))return t;var n,r},N=function(e,t,i=!1){if("undefined"==typeof CE_USER_COMMON_SCRIPT_URL)return void(0,n.Yz)("Inline Worker is not supported: CE_USER_SCRIPT_URL not defined");if("undefined"==typeof CE_USER_THIRDPARTY_SCRIPT_URL)return void(0,n.Yz)("Inline Worker is not supported: CE_USER_THIRDPARTY_SCRIPT_URL not defined");const s=[],r=["CE_DEBUG","CE_TEST_MODE"];for(let e=0;e{}),!0);e?(e.terminate(),CE2.state._inws=!0):CE2.state._inws=!1}catch(e){CE2.state._inws=!1}return CE2.state._inws},D=function(e,t,i=!1){try{return N(e,t,i)}catch(e){(0,n.Yz)(`Inline Worker is not supported: ${e.message}`)}},A=(e,t,i)=>(i&&(t+=`,${t} *`),e.matches(t)),O=function(e){if("undefined"==typeof window)return CE2.s[e];try{const t="ce_proto_iframe";let i=document.getElementById(t);return i||(i=document.createElement("iframe"),i.id=t,i.title="CrazyEgg Tracking iframe",i.style.display="none",document.documentElement.appendChild(i)),i.contentWindow[e]}catch(t){return(0,n.Yz)("Clean Prototype error",t),window[e]}},$=function(e){return!!e&&/\{\s+\[native code\]/.test(Function.prototype.toString.call(e))},x=function(e){let t=Object.getOwnPropertyNames(e);for(let i=0,s=t;i{const{tracker:i}=CE2;i&&i.customEvent&&i.customEvent(e,t)},P=e=>CE2.tracker?.[e]||CE2.virtualTracker?.[e];let V;const M=(e=null)=>{V=e||performance.now()},L=["utm_source","utm_medium","utm_term","utm_content","utm_campaign"],B=e=>{let t,i=!1;const s=[];if(t=new CE2.URL(e||window.location.href).qs)for(let e=0;e{"use strict";i.d(t,{A:()=>r});var s=i(7866),n=i(1509);class r{constructor(){this.trackURL=CE2.data.v11_tracking_dest,this.visitor=CE2.visitorTracker,this.visitorID=CE2.visitorTracker.getId(),this.bufferQueue=[],this.bufferQueueTimeout,this.bufferTimeoutInterval=2e3}makeId(){return(0,s.M4)(0,1)}newEvent(e,t={}){const i=t.attributes||[];for(let e=0;e{this.processBuffer({scheduleTimeout:e.scheduleTimeout,sendBeacon:e.sendBeacon})}),this.bufferTimeoutInterval))}}},4451:(e,t,i)=>{"use strict";i.d(t,{mc:()=>h,hh:()=>C,vJ:()=>p,Ew:()=>E,mr:()=>d,VK:()=>l,fY:()=>u});var s=i(3201),n=i(3380);class r{constructor(e){this.storeName=e,CE2.w&&CE2.w.indexedDB&&(this.dbPromise=this.openDB())}get isAvailable(){return!!CE2.w.indexedDB}async openDB(){return new Promise((e=>{const t=CE2.w.indexedDB.open(this.storeName,1);t.onupgradeneeded=e=>{const t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName,{keyPath:"id"})},t.onsuccess=t=>{const i=t.target.result;e(i)},t.onerror=t=>{(0,n.Yz)(`error opening database ${t.target?.errorCode}`),e()}}))}async readAll(){if(this.dbPromise)return this.dbPromise.then((e=>e?new Promise(((t,i)=>{let s=e.transaction([this.storeName],"readonly");const r=s.objectStore(this.storeName);s=r.getAll(),s.onsuccess=e=>{t(e.target.result)},s.onerror=function(e){(0,n.Yz)(`error opening database ${e.target.errorCode}`),i(e.target)}})):[]))}async store(e){if(this.dbPromise)return this.dbPromise.then((t=>{if(t)return new Promise(((i,s)=>{const r=t.transaction([this.storeName],"readwrite"),o=r.objectStore(this.storeName);r.onsuccess=e=>{i(e.target.result)},r.onerror=function(e){(0,n.Yz)(`error storing records ${e.target.errorCode}`),s(e.target)},e.forEach((e=>{o.put(e)}))}))}))}async clear(){if(this.dbPromise)return this.dbPromise.then((e=>{if(e)return new Promise(((t,i)=>{let s=e.transaction([this.storeName],"readwrite");const r=s.objectStore(this.storeName);s=r.clear(),s.onsuccess=e=>{t(e.target.result)},s.onerror=function(e){(0,n.Yz)(`error clearing store ${e.target.errorCode}`),i(e.target)}}))}))}}const o="cec",a={STANDARD:"standard",DELAYED:"delayed"},c=new s.v;function d(){return Object.values(a).includes(CE2.w?.CE_COOKIE_MODE)?CE2.w.CE_COOKIE_MODE:a.STANDARD}function l(){if(d()===a.STANDARD)return!0;const e=CE2.d.cookie.split("; ").map((e=>e.split("="))).find((e=>e[0]===o));return e&&"1"===e[1]}function u(...e){const t=2===e.length&&e[0],i=2===e.length?e[1]:e[0];return(...e)=>"function"==typeof t&&i&&t(...e)||l()?i(...e):void c.once("consent",(t=>{t&&i(...e)}))}class h{constructor(e){this.storeName=e,this.state=[],c.on("consent",(e=>{e&&this.sync()}))}async readAll(){return l()?this.instance().readAll():this.state}async store(e){return l()?this.instance().store(e):this.state=e}async clear(){l()?await this.instance().clear():this.state={}}async sync(){await this.instance().store(this.state)}instance(){return this.db?this.db:this.db=new r(this.storeName)}}class g{constructor(e){c.on("consent",(e=>{e&&this.sync()})),this.state={},this.prototype=e}write(e,t){l()?this.prototype.setItem(e,t):this.state[e]=t}read(e){return l()?this.prototype.getItem(e):this.state[e]}remove(e){l()?this.prototype.removeItem(e):delete this.state[e]}sync(){Object.keys(this.state).forEach((e=>{this.prototype.setItem(e,this.state[e])}))}clear(){this.state={}}}const E=new class{constructor(){CE2BH.defineProperty(this,"currentValue",{}),CE2BH.defineProperty(this,"currentFullValue",{})}write(e,{key:t,value:i}){return l()?CE2.d.cookie=e:i.endsWith("=;")?(delete this.currentFullValue[t],void delete this.currentValue[t]):(this.currentFullValue[t]=e,void(this.currentValue[t]=i))}read(){return l()?CE2.d.cookie:Object.values(this.currentValue).join(" ")}sync(){Object.values(this.currentFullValue).forEach((e=>{CE2.d.cookie=e})),this.currentFullValue={},this.currentValue={}}};function p(e){CE2.state.consent=!!e,c.emit("consent",!!e),CE2.state.consent?(E.write(`${o}=1;`,{key:o,value:"1"}),E.sync()):(E.write(`${o}=;max-age=31536000;`,{key:o,value:""}),E.sync()),(0,n.Yz)(`[Loading] Cookie consent=${CE2.state.consent}`)}function C(e){return new g(e)}},3487:(e,t,i)=>{"use strict";i.d(t,{CT:()=>o,Gw:()=>a,H$:()=>h,MN:()=>d,og:()=>g,ur:()=>u,uw:()=>c});var s=i(1789);const n={intToStr:{},strToInt:{}},r=[],o=e=>"string"==typeof e?e:n&&n.intToStr?n.intToStr[e]:void 0,a=e=>{"number"==typeof e.nid&&"string"==typeof e.id&&(e.nid in n.intToStr||(n.intToStr[e.nid]=e.id,n.strToInt[e.id]=e.nid))},c=(e,t,i)=>s.r.nextGoalConversionValue(e,t,i),d=e=>s.r.setCurrency(e),l=(e,t,i,s)=>{const r="number"==typeof(o=t)?o:n&&n.strToInt?n.strToInt[o]:void 0;var o;"number"==typeof r?e.goalConversion({goalId:r,value:i,triggerId:s||r}):e.codeConversion(t,i)},u=e=>{let t;for(;t=r.shift();)t.dynamic?(delete t.dynamic,e.dynamicGoalConversion(t)):l(e,...t)},h=(e,t,i)=>{CE2.tracker&&CE2.tracker.goals||CE2.virtualTracker?l(CE2.tracker||CE2.virtualTracker,e,t,i):r.push([e,t,i])},g=({name:e,value:t}={})=>{const i=CE2.tracker||CE2.virtualTracker;i?i.dynamicGoalConversion({name:e,value:t}):r.push({dynamic:!0,name:e,value:t})}},1789:(e,t,i)=>{"use strict";i.d(t,{r:()=>d});var s=i(8856),n=i(8e3);const r="gtrk.cnv",o="gtrk.la",a="gtrk.ngv",c="gtrk.c",d={get:e=>n.i.get(e),set:(e,t)=>n.i.set(e,t),del:e=>n.i.del(e),reset(){this.del(r),this.del(o)},alive(){this.isExpired()&&this.reset(),this.set(o,(+new Date).toString(36))},isExpired(){const e=parseInt(this.get(o),36);return!!e&&new Date-e>18e5},getConvertedIds(){if(this.isExpired())return[];const e=this.get(r);return e?e.split(",").map((e=>String(e).startsWith("dyn-")?e:parseInt(e,36))).filter((e=>String(e).startsWith("dyn-")||!Number.isNaN(Number(e)))):[]},recordConversion({goalId:e,dynamicId:t}){if(e&&("number"!=typeof e||Number.isNaN(Number(e))))return;if("string"==typeof t&&!t.startsWith("dyn-"))return;const i=this.getConvertedIds();i.includes(e)||i.includes(t)||(s.A.emit("complete",{goal:{id:e}}),i.push(e||t),this.set(r,i.map((e=>String(e).startsWith("dyn-")?e:e.toString(36))).join(",")))},alreadyConverted(e){return this.getConvertedIds().includes(e)},setCurrency(e){this.set(c,e)},getCurrency(){return this.get(c)},nextGoalConversionValue(e,t,i){let s=this.get(a);s=s?CE2.Native.JSON.parse(s):{};const n=s[e]&&s[e].findIndex((e=>e.triggerId==i));n&&!t?s[e][n].splice(n,1):Number.isInteger(n)&&t?s[e][n]={value:t,triggerId:i}:t&&(s[e]||(s[e]=[]),s[e].push({value:t,triggerId:i})),this.set(a,CE2.Native.JSON.stringify(s))},getNextGoalConversionValue(e,t=null){let i=this.get(a);i=i?CE2.Native.JSON.parse(i):{};let s=i[e]&&i[e].findIndex((e=>e.triggerId==t)),n=i[e]&&i[e][s];n||(s=i[e]&&i[e].findIndex((e=>!e.triggerId)),n=i[e]&&i[e][s]);const r=this.getCurrency();if(n&&!n.value.currency&&r&&(n.value.currency=r),i[e]&&(i[e].splice(s,1),0===i[e].length&&delete i[e]),this.set(a,CE2.Native.JSON.stringify(i)),n)return n.value}}},2080:(e,t,i)=>{"use strict";i.d(t,{O:()=>o,s:()=>r});var s=i(7471),n=i(3380);function r(e){if("string"!=typeof e)return NaN;const t=e.lastIndexOf(","),i=e.lastIndexOf(".");let s,n=e.replace(/[^0-9.,]/g,"");if(t>-1&&i>-1)s=t>i?",":".";else if(t>-1||i>-1){const e=t>-1?",":".",i=n.split(e);2===i.length&&i[1].length<3&&(s=e)}return s?(n=n.replace(new RegExp(`[^0-9\\${s}]`,"g"),""),n=n.replace(new RegExp(`\\${s}`),".")):n=n.replace(/[^0-9]/g,""),parseFloat(n)}class o{constructor(e,t=[]){this.goals=(e||[]).filter((e=>{if(!e.triggers)return!1;for(let t=0,i=e.triggers;t{const s=r(t.innerText);if("number"!=typeof s||Number.isNaN(s))return;const a={worth:s,currency:c};(0,n.Yz)("[Goals] Goal target value detected",{goal:i,trigger:o,original:t.innerText,value:a}),a&&e({type:"goalValue",value:a,goal:i,trigger:o})}))}}}}initMutationObserver(){this.mutationObserver||this.goals.length&&(this.mutationObserver=new MutationObserver(this.onMutation.bind(this)),this.mutationObserver.observe(CE2.d,{subtree:!0,childList:!0,characterData:!0}))}onMutation(e){for(let t=0;t{"use strict";function s(){return CE2.tracker?.session?CE2.tracker:CE2.virtualTracker}function n(e){if(!e)return;CE2.IDENTIFIER=e;const t=s();t?t?.identify(e):CE2.visitorTracker&&CE2.visitorTracker.identify(e)}function r(){CE2.IDENTIFIER=null;const e=s();e?e.clearIdentity():CE2.visitorTracker&&CE2.visitorTracker.clearIdentity()}function o(e,t){const i=s();i?.increaseSessionWorth(e,t)}function a(e,t){const i=s();i?.decreaseSessionWorth(e,t)}function c(e,t){const i=s();i?.setSessionWorth(e,t)}i.d(t,{LG:()=>c,LV:()=>a,SY:()=>r,ls:()=>n,vn:()=>o})},9880:(e,t,i)=>{"use strict";i.d(t,{C:()=>o,w:()=>a});var s=i(3380);const n="v11.fhb",r="v11.lhb",o=function(e){if(CE2.data.sites_sampling)for(let t=0,i=CE2.data.sites_sampling;t-1&&(t=!0),t)return this.debug("CE_ENFORCE_RECORDING applied"),this._setAppliedStrategy("enforced"),!0;const s=CE2.state.overridenRecordingSamplingRate;if(s){this.debug(`Sampling Ratio: enforced to ${s}`);const e=100*Math.random()e)},customSamplingApplies(){if(!this.clock)return!1;const e=CE2.clock.getDate();if(!e)return!1;const t=new Date(1e3*parseInt(this.site.recordingSettings.samplingStartDateUnix,10)),i=new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10)),s=new Date(1e3*parseInt(this.site.recordingSettings.samplingUpdatedAt,10)),n=new Date(1e3*parseInt(this.site.recordingSettings.samplingCompletedAt,10));return!(s&&n&&n>s)&&(t<=e&&e<=i)},customPeriodEnded(){if(!this.clock)return!1;return CE2.clock.getDate()>new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10))},debug(e,t){(0,s.Yz)(`[Sessions] ${e}`,t)},_strategy(){return"custom"===this.site.recordingSettings.samplingStrategy?"custom":"consecutive"===this.site.recordingSettings.samplingStrategy?"consecutive":"no_sampling"===this.site.recordingSettings.samplingStrategy?"no_sampling":"uniform"},_key(){return"custom"===this._strategy()||"consecutive"===this._strategy()?btoa(`${this.site.id}|${this.site.recordingSettings.samplingUpdatedAt}`):"all"}}},4075:(e,t,i)=>{"use strict";i.d(t,{T:()=>g});var s=i(3380),n=i(8e3),r=i(2886);const o="v11.s",a="v11.fs",c="v11.sla",d="v11.send",l="v11.cs",u="v11nv",h="v11r";class g{constructor({siteId:e,id:t,isNew:i,isFull:s,ratio:n,strategy:r}){if(void 0===e||void 0===t||void 0===i||void 0===s)throw new Error("Invalid params");this.id=t,this.siteId=e,this.new=i,this.full=s,this.ratio=n,this.strategy=r}static instance(){if(this.session)return this.session;const e=g.currentSiteId();if(e&&e!=CE2.site?.id)return void g.reset("site-changed");const t=g.currentSessionId();if(!t)return;const i=!!g.currentSessionFull(),s=g.getRatio(),n=g.getStrategy();return this.session=new g({siteId:e,id:t,isNew:!1,isFull:i,ratio:s,strategy:n})}static build(e=!0,t=null,i=null){return this.session=new g({siteId:CE2.site?.id,id:(0,r.Jl)(),isNew:!0,isFull:e,ratio:t,strategy:i})}static reset(e){n.i.del(o),n.i.del(c),n.i.del(d),n.i.del(u),n.i.del(a),n.i.del(l),n.i.del(h),(0,s.Yz)("[Sessions] Resetting",{reason:e})}static currentSiteId(){return n.i.get(l)}static currentSessionId(){return n.i.get(o)}static currentSessionFull(){return n.i.get(a)}static getRatio(){const e=n.i.get(h);return e&&parseInt(e.split(",")[0],10)}static getStrategy(){const e=n.i.get(h);return e&&e.split(",")[1]}get(e){return n.i.get(e)}set(e,t){return n.i.set(e,t)}del(e){return n.i.del(e)}store(){this.id?(this.set(l,this.siteId),this.set(o,this.id),this.full&&this.set(a,1)):(this.del(l),this.del(o),this.del(a)),this.ratio&&this.set(h,[this.ratio,this.strategy].join(",")),this.new=!1}reset(e){g.reset(e),this.id=null}alive(){this.isInactive()||this.set(c,+new Date)}isExpired(){return this.isDeleted()?"isDeleted":this.isEnded()?"isEnded":!!this.isInactive()&&"isInactive"}isInactive(){const e=parseInt(this.get(c),10);if(this.id&&e){if(+new Date-e>18e5)return(0,s.Yz)("[Sessions] isInactive"),!0}return!1}isEnded(){const e=parseInt(this.get(d),10);if(!Number.isNaN(Number(e)))return!!(this.id&&e&&+new Date-e>3e5)||(this.del(d),!1)}isDeleted(){return!this.isNew()&&!this.get(o)}isNew(){return this.new}isFull(){return!this.isDeleted()&&!!this.full}becomeFull(){this.full=!0,this.store()}numberVisits(){return parseInt(this.get(u),10)||0}setNumberVisits(e){return this.set(u,e)}end(e=!1){const t=parseInt(this.get(d),10);!t&&e?this.set(d,1):t||this.set(d,+new Date)}}},6832:(e,t,i)=>{"use strict";i.d(t,{J:()=>E});var s=i(2886),n=i(1509),r=i(8481),o=i(1789),a=i(1807),c=i(3380),d=i(401),l=i(5736),u=i(8e3);function h(){const e=u.i.get("swk");if(e){const[t]=e.split("|");return parseFloat(t)||0}return 0}const g=(e,t)=>(u.i.set("swk",[e,t].join("|")),e);class E extends l.A{constructor(e){super(e);const{visitId:t}=e;this.eventHandlers={},this.virtual=!1,this.url=window.location.href,this.setVisitorIDs(),this.setVisitIDs(t)}setVisitIDs(e){CE2.visitId=this.visitID=e||this.makeId()}setVisitorIDs(){this.visitor.getId()&&this.visitor.getStoredId()&&this.visitor.getId()!==this.visitor.getStoredId()&&this.resetSessionTracking?.(),this.visitorID=this.visitor.getId()}identify(e){if(!this.session||!e)return;this.visitor.identify(e);const t=[e],i=this.newEvent(17,{attributes:t});this.send(i)}clearIdentity(){this.visitor.clearIdentity()}amountInCents(e){return e&&!Number.isNaN(Number(e))&&Math.round(1e4*parseFloat(e))}increaseSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=((e,t)=>{const i=h();return g(i+e,t)})(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Increase session worth",{amount:e,currency:t,finalAmount:i}),this.sendSessionWorth(i,t)}decreaseSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=((e,t)=>{let i=h()-e;return i<0&&(i=0),g(i,t)})(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Decrease session worth",{amount:e,currency:t,finalAmount:i}),this.sendSessionWorth(i,t)}setSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=g(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Set session worth",{amount:e,currency:t}),this.sendSessionWorth(i,t)}sendSessionWorth(e,t){const i=[this.visitID,e,t&&3===t.length?t.toUpperCase():null,"new"],s=this.newEvent(35,{attributes:i});this.send(s)}getUserData(){const e=[],{userData:t}=CE2.state;return(0,s.__)([1,2,3,4,5],(i=>{const s=t[i];void 0!==s&&e.push(String(i),s)})),e}goalConversion({goalId:e,value:t,triggerId:i,goalName:s,isDynamic:l=!1,skipSessionWorth:u=!1}={}){const h=l&&s?`dyn-${(0,d.F)(s)}`:null,g=!o.r.alreadyConverted(h||e),E=l?null:(0,r.xf)(e),p=this.visitor.getFirstVisitData(),C=l?null:this.goals.find((({id:t})=>t===e));let f,m;if(t||l||(t=o.r.getNextGoalConversionValue(e,i))&&(0,c.Yz)("[Goal] Using stored value",{goal:C,triggerId:i,value:t}),!t&&C&&C.triggers){const e=C.triggers.find((e=>e.id==i));e&&e.fixed_value&&(t=e.fixed_value,(0,c.Yz)("[Goal] Using fixed value",{goal:C,trigger:e,value:t}))}t&&"object"==typeof t&&t.worth&&!Number.isNaN(t.worth)&&(f=t.currency,m=t.worth,u||this.increaseSessionWorth(m,f));const v=[CE2.w.location.href,l||E?.goalId!==e?void 0:E.id,l||E?.goalId!==e?void 0:CE2.data.addons.find((({id:e})=>e===E.id))?.name,l?s:C?.name,this.visitor.getIdentification(),e||"",p.landingUrl,p.referrer,p.time?Date.now()-p.time:null,p.utm,p.userData,CE2.clock.getIP(),CE2.clock.getDeviceType(),this.visitor.isReturning(),m?Math.round(1e4*parseFloat(m)):void 0,f];l||E?.goalId!==e||((0,n.sendCounter)("cta:conversion",E.id),(0,r._o)(e));const w=(0,a.lD)(),_=[w?.id,w?.name,w?.variantId,(0,a.Qj)().map((({id:e})=>e))];if(w){const e=CE2.flows[w.id],t=CE2.flows[w.id].variants[w.variantId];_.push(e.realId),_.push(t.realId)}const y=[this.visitID,i||"",g,this.session?this.session.numberVisits():"",...v,..._],S=this.newEvent(26,{attributes:y});this.sendImmediatelly(S,{goalId:h||e}),g&&o.r.recordConversion({goalId:e,dynamicId:h}),l||"function"!=typeof CE2.convertedFromFlow||CE2.convertedFromFlow(e,t),(0,c.Yz)("[Goals] Converted",{goalId:e,value:t,triggerId:i,goalName:s,isDynamic:l})}codeConversion(e,t){this.goals.forEach((i=>{i.triggers.forEach((s=>{const n=s.filter.conditions.filter((e=>"code"===e.criteria));if(0!==n.length)for(let r=0;r255)throw new Error("Goal name is too long:",e);this.goalConversion({isDynamic:!0,goalName:e,value:t})}sendCustomUserData(){const{userData:e}=CE2.state;if(e.length>0&&e.find((e=>!!e))){const t=[e[1],e[2],e[3],e[4],e[5]],i=this.newEvent(18,{attributes:t});this.send(i)}}sendTag(e){if(this.session&&e){const t=[e],i=this.newEvent(19,{attributes:t});this.send(i)}}addTag(e){const t=CE2.Native.Array.isArray(e)?e:[e];for(let e=0;e{for(let t=0,i=r.hooks;t{"visible"!==document.visibilityState&&this.onPageHide&&this.onPageHide()}))}}},7471:(e,t,i)=>{"use strict";i.d(t,{DM:()=>o,V4:()=>r,_9:()=>c});var s=i(6677),n=i(6149);const r=(e,t,{debugCallback:i}={})=>{let s="";return e.indexOf("*")>-1&&(s="*"),(0,n.$)(e,t,s,null,null,i)},o={visited_page(e,{debugCallback:t}={}){const i=CE2.w.location.href;return r(e,i,{debugCallback:t})},device:e=>(0,s.D)(e),referrer(e,{debugCallback:t}={}){const i=CE2.d.referrer;return i===e&&""===i||r(e,i,{debugCallback:t})}},a=(e,{debugCallback:t,operand:i}={})=>{for(let s=0,n=e.values;s>16)+(t>>16)+(i>>16)<<16|65535&i}function o(e,t,i,s,n,o){return r((a=r(r(t,e),r(s,o)))<<(c=n)|a>>>32-c,i);var a,c}function a(e,t,i,s,n,r,a){return o(t&i|~t&s,e,t,n,r,a)}function c(e,t,i,s,n,r,a){return o(t&s|i&~s,e,t,n,r,a)}function d(e,t,i,s,n,r,a){return o(t^i^s,e,t,n,r,a)}function l(e,t,i,s,n,r,a){return o(i^(t|~s),e,t,n,r,a)}function u(e,t){var i,s,n,o,u;e[t>>5]|=128<>>9<<4)]=t;var h=1732584193,g=-271733879,E=-1732584194,p=271733878;for(i=0;i>5]>>>t%32&255);return i}function g(e){var t,i=[];for(i[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+s.charAt(15&t);return n}function p(e){return unescape(encodeURIComponent(e))}function C(e){return function(e){return h(u(g(e),8*e.length))}(p(e))}function f(e,t){return function(e,t){var i,s,n=g(e),r=[],o=[];for(r[15]=o[15]=void 0,n.length>16&&(n=u(n,8*e.length)),i=0;i<16;i+=1)r[i]=909522486^n[i],o[i]=1549556828^n[i];return s=u(r.concat(g(t)),512+8*t.length),h(u(o.concat(s),640))}(p(e),p(t))}function m(e,t,i){return t?i?f(t,e):function(e,t){return E(f(e,t))}(t,e):i?C(e):E(C(e))}void 0===(s=function(){return m}.call(t,i,t,e))||(e.exports=s)}()}},e=>{var t,i=(t=7631,e(e.s=t)),s=CE2="undefined"==typeof CE2?{}:CE2;for(var n in i)s[n]=i[n];i.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})}]);if(CE2.benchmark.start("navigation|crazyegg|common"),CE2.benchmark.start("navigation|crazyegg|common|start"),CE2.start=function(){CE2.domReadySetup(),CE2.onDOMReady(()=>{CE2.benchmark.stop("navigation|crazyegg|common|start"),CE2.userDataMain()})},CE2.data&&CE2.data.error_tracking)try{CE2.debug("[Loading] Starting Error Tracking"),CE2.errorTracking.listen()}catch(a){CE2.debug(a)}CE2.autoStart?CE2.start():CE2.debug("[Loading] Autostart disabled"),"function"==typeof CE_READY?CE2.onDOMReady(CE_READY):"object"==typeof CE_READY&&CE2.onDOMReady(()=>{CE2.each(CE_READY,a=>{if("function"==typeof a)try{a()}catch(a){CE2.debug("[Loading] CE2.userMain error:"),CE2.debug(a)}})});